-
Notifications
You must be signed in to change notification settings - Fork 37
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
Serrated Edges 3D Potential Flow Simulation #235
base: master
Are you sure you want to change the base?
Serrated Edges 3D Potential Flow Simulation #235
Conversation
…es when using gmsh.
…er or Navier Stokes physics model. Added potential source parameters file. Added new cellwise_geometry_condition to ModelBase
…. Began fixing bug where LiftDragFunctional is initialized without considering ModelBase or alternative physics.
… has_manufactured_solution = false.
… updated if used with ModelBase
…d if used with ModelBase
…ntial_source_term
General cleaning of code.
@@ -371,6 +366,10 @@ bool DGBaseState<dim,nstate,real,MeshType>::potential_body_geometry( | |||
|
|||
|
|||
// checking if position within TES geometry | |||
// TES shape | |||
auto TES = [&](real v) { |
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.
just wondering, what does [&](real v)
do? I've never seen this before
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.
Passes the real variable v as a reference. (real v) is just a stand in for whatever variable is passed in the expression.
See the below article for reference, my understanding is lambdas are just a replacement for function pointers. In this case not really needed now that I look back on it... Could just be written inline.
… fix periodic parallel bug.
27669cd
to
0fd0453
Compare
Solution output and mesh input is currently setup for local machine.
…r naca0012 periodic case. The purpose of this spanwise refinement is to avoid the failure that occurs when periodic cells are assigned to different processors. Input meshes must be 1 cell spanwise, which is then refined using deal.ii after the processors are assigned. This ensures that each processor is responsible for the entire width of its segment.
a5e30fc
to
8db32a5
Compare
Rough draft for review.