Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volumetric Heat Source to Mass Heat Source #2

Open
andrewdnolan opened this issue May 4, 2022 · 0 comments
Open

Volumetric Heat Source to Mass Heat Source #2

andrewdnolan opened this issue May 4, 2022 · 0 comments

Comments

@andrewdnolan
Copy link
Owner

In the surface boundary process function (Surface_Processes in src/elmer_UDF/SurfaceBoundary.f90) I calculate the volumetric heat source (Q_lat) based on Eqn. (9) from Wilson and Flowers (2013):

Q_lat = (1 - r_frac) * (rho_w/h_aq) * L_heat * f_dd * SUM(PDD)

My initial attempts to prescribe Q_lat as prescribing a volumetric source (J/m^3) along the surface boundary conflicted with the Dirichlet B.C. based on air temp and in-effect Q_lat was ignored by Elmer. Previously as solution this problem, I prescribed Q_lat as a volumetric heat source one node below the surface, which worked but was nonphysical.

Instead I've edited the code to convert Q_lat to a mass heat source (J/kg) which can be used to augment the Dirichlet B.C. for enthalpy along the free surface. See Eqn. (6) from Licciulli et al. (2019) for an example of this approach.

I'm unsure what density should I use to convert Q_lat from a volumetric (J/m^3) to mass (J/kg) heat source. I'm currently just using the density of water:

Surf_Enthalpy % values (Surf_Enthalpy % perm(n)) = Q_lat/rho_w + H_surf

but I'm maybe this should be surface density?

andrewdnolan added a commit that referenced this issue Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant