-
Notifications
You must be signed in to change notification settings - Fork 239
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
Add output of fluxes to LiquidFlow process #2760
Conversation
f4de690
to
c1a07a3
Compare
- Forward the output folder and mesh vector from ProjectData to CreateLiquidFlow. - Create an optional SurfaceFluxData object.
c1a07a3
to
00d6cf5
Compare
@@ -121,5 +125,39 @@ void LiquidFlowProcess::computeSecondaryVariableConcrete(const double t, | |||
x, _coupled_solutions); | |||
} | |||
|
|||
Eigen::Vector3d LiquidFlowProcess::getFlux( | |||
std::size_t element_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::size_t element_id, | |
std::size_t const element_id, |
// according to the right hand rule | ||
// for correct results it is necessary to multiply the normal with -1 | ||
surface_element_normal *= -1; | ||
auto getSurfaceNormal = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a variable, should be get_surface_normal
.
auto getSurfaceNormal = | |
auto get_surface_normal = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
struct { void operator() { } } get_surface_normal;
Minor things only. If no review 'til tomorrow, merge it. |
00d6cf5
to
2eaec2b
Compare
In 2d case the z component would be arbitrary when uninitialized.
OpenGeoSys development has been moved to GitLab. |
The flux calculation is now available for the LiquidFlow process. This works analogously to the other implementations in the HT-Process, HC-Process and groundwater flow process. Documentation already exists for this.