numerical scheme without artificial diffusion artifact
Dear Forum members,
I am using a modified version of icoFoam to keep track of the concentration of an agent in a pipe flow setup. The scalar field representing the concentration is "carried along" by solving a convection diffusion equation for each timestep using the computed flow velocities. What I experience is that even though there are relatively large gradients in the concentration values around the inlet (resulting from time varying BCs) the gradients quickly diminish (e.g. there seems to be a strong diffusion effect) even if the diffusivity constant is set to zero (!)).
I thought it might be an effect of the numerical schemes used to introduce such artifacts, however I am not quite sure which ones to use instead.
The numerical schemes currently used:
velocity: Gauss limitedLinearV 1;
agent concentration: Gauss limitedLinear 1;
velocity: Gauss linear corrected;
pressure:Gauss linear corrected;
agent concentration: Gauss linear corrected;
P.S. if a non limited numerical scheme is used for the div of the agent concentration the simulation blows up
Thanks for your replies,
If you really need to solve a pure advection equation (e.g. for volume fraction in multiphase flows), even that will not be good enough. You'll need a special algorithm such as MULES + interface compression to handle such problems.
The best results in terms of reducing diffusion is obtained with central schemes (their diffusive error is zero, since only dispersive errors are present, but they put limitations on the grid size).
If you really need zero diffusion, one possible way is to solve the tracer in a Lagrangian sense.
|All times are GMT -4. The time now is 07:17.|