Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
can we bound a dependant variable?
Posted 2013年4月4日 GMT-4 10:20 Fluid & Heat, Computational Fluid Dynamics (CFD), Results & Visualization 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I use laminar flow plus adding a convection-diffusion equation as a pde one to NV and continuity equations(time- dependant) to solve my simulation. The problem that I have is that the magnitude of variable in convection-diffusion (u2) should be between 0 and 1 but it has overshoot and undershoot (max 1.8 ans min-0.6).
Is there any way to limit the error in each time step of iteration ? I guess these errors come from numerical errors.
As far as I know one of the ways to reduce these errors is to refine the mesh but I am wondering if we could limit the magnitude of the variable by formula in each time step(for instance if u2>1 set it to 1 and if u2<0 set it to 0)
thank you
hooman
I use laminar flow plus adding a convection-diffusion equation as a pde one to NV and continuity equations(time- dependant) to solve my simulation. The problem that I have is that the magnitude of variable in convection-diffusion (u2) should be between 0 and 1 but it has overshoot and undershoot (max 1.8 ans min-0.6).
Is there any way to limit the error in each time step of iteration ? I guess these errors come from numerical errors.
As far as I know one of the ways to reduce these errors is to refine the mesh but I am wondering if we could limit the magnitude of the variable by formula in each time step(for instance if u2>1 set it to 1 and if u2<0 set it to 0)
thank you
hooman
1 Reply Last Post 2013年4月4日 GMT-4 14:42