Launching jets via a source term in SR #543
Unanswered
paytonrodman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
I am trying to simulate jets in a cartesian grid and so am using the
EnrollUserExplicitSourceFunction
to set relevant jet variables (e.g. density, pressure, velocities) within a couple of cylindrical regions inside the mesh, rather than at a boundary (example pictures below).I can set these values fine, but the simulation isn't evolving - there's a non-zero
vy_jet
inside the launching cylinders but nothing leaves that region and all variables are static.The code is based heavily on the
jet.cpp
example with SR calculations from thegr_shock_tube.cpp
example.I'm not sure if it's a conflict between SR and the source term, or if perhaps the sharp discontinuities on the launch regions are messing with energy conservation.
Any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions