Fix for cubic elements in surface forces for lift/drag coefficients (#1158)* update for surface forces to return dof * update surface forces * update on surface forces * PetscCall section
Fix for cubic elements in surface forces for lift/drag coefficients (#1158)* update for surface forces to return dof * update surface forces * update on surface forces * PetscCall section get field components * Update examples/fluids/src/setupts.c Co-authored-by: Jed Brown <jed@jedbrown.org> * Update examples/fluids/src/setupts.c Co-authored-by: Jed Brown <jed@jedbrown.org> * examples/fluids: lift query from inner loop * examples/fluids: enable coarser meshes * update yaml file * fix path to creating figure --------- Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
examples/fluids/meshes: reparametrize wake region and fix Makefile
Vortex shedding / flow past cylinder (#1082)* add vortex shedding problem * add file for the Qfunctions * add yaml file * update problem setup * update IC qfunc * update problem set
Vortex shedding / flow past cylinder (#1082)* add vortex shedding problem * add file for the Qfunctions * add yaml file * update problem setup * update IC qfunc * update problem setup * update initial condition * update yaml file * add mesh file * add vortexshedding to navierstokes.h * register vortexshedding to cloptions.c * update configuration/yaml file * fix Min function * examples/fluids: fix boundary condition labels for cylinder $PhysicalNames 6 2 1 "inlet" 2 2 "outlet" 2 3 "top" 2 4 "bottom" 2 5 "cylinderwalls" 2 6 "frontandback" $EndPhysicalNames * update QFunctions in navierstokes.c * update data and BC structs in navierstokes.h * update vortexshedding.c * update states * update IC in vortexshedding.h * add freestream BC to cloptions * updates in setuplibceed.c * include freestream BC in example * cleanup duplicate variable names * rename variables as freestream * clean-up some warning messages * clean up example * add cylinder.geo * label physical volume * examples/fluids: fix cylinder mesh and add vortexshedding defaults * update gravity vector * examples/fluids: match domain to Shakib, get vortex street * update to quadratic mesh * clean up yaml file * delete vortexshedding.c and vortexshedding.h * remove vortexshedding from register * update yaml file * examples/fluids: Newtonian "still" initial condition Reinstate outflow boundaries that were previously removed so that existing tests can pass. * examples/fluids: freestream inherits reference state Fix freestream context reference counting bug. * examples/fluids: avoid designated initializer in kernel code (breaks CUDA) * add Shakib91 to references * remove cylinder.geo and cylinder.msh * wip:add documentation for vortex shedding * update path to cylinder.msh * add subdirectory for meshes * parameterize cylinder.geo * some fixes in cylinder.geo * Fix cylinder.geo file * examples/fluids: fix up mesh parametrization Fix cylinder size (the function is Sqrt, not sqrt) and parametrize resolution and aspect. * examples/fluids: fix build after broken merge from main * update Shakib1991 in references * wip:docs for vortex shedding * remove TODO comment * reformulate docs * fix docs * delete cylinder.msh file * work on documentation * add vortex runtime options * examples/fluids: update vortex shedding docs and mesh Co-authored-by: Jed Brown <jed@jedbrown.org>