Recomendation for how to add random noise at inlet of a pipe to trigger turbulence #2343
Unanswered
elinlarsson744-ux
asked this question in
Q&A
Replies: 1 comment 5 replies
|
do you have a pipe with inflow and outflow, or a periodic pipe? The answer would depend on that. For inflow/outflow, we typically would use synthetic turbulence or recycling, for a periodic pipe we have a better version for initial conditions (that are divergence free). Let us know what you want, and then we can help you. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I am simulating a pipe flow at Re=2943, and I want to have some disturbances in the inlet which will trigger turbulence, I added a user file which I am attaching below. I want some advice on this method that how much noise should I add as I can see the pressure solver is not converging hitting its limit. Also will it be good to impose some noise which is divergence free? If so how can I do that?
Thanks in advance
case file:
{ "version": 1.0, "case": { "mesh_file": "pipe.nmsh", "output_at_end": true, "output_boundary": true, "output_checkpoints": true, "checkpoint_control": "simulationtime", "checkpoint_value": 0.01, "numerics": { "polynomial_order": 5, "time_order": 3, "dealias": true }, "fluid": { "scheme": "pnpn", "Re": 2943.0, "boundary_conditions": [ {"type": "outflow+dong", "zone_indices": [1]}, {"type": "user_velocity", "zone_indices": [2]}, {"type": "no_slip", "zone_indices": [3]} ], "initial_condition": {"type": "user"}, "velocity_solver": { "type": "cg", "preconditioner": {"type": "jacobi"}, "projection_space_size": 0, "absolute_tolerance": 1e-7, "max_iterations": 800 }, "pressure_solver": { "type": "gmres", "preconditioner": {"type": "hsmg"}, "projection_space_size": 5, "absolute_tolerance": 1e-3, "max_iterations": 2000 }, "output_control": "simulationtime", "output_value": 0.001 }, "simulation_components": [ { "type": "lambda2", "compute_control": "simulationtime", "compute_value": 0.001, "output_control": "simulationtime", "output_value": 0.001 } ], "time": { "end_time": 20.0, "variable_timestep": true, "target_cfl": 0.4, "max_timestep": 1e-3 } } }All reactions