Simulating convection
Hi,
I'd like to know if there are softwares that can simulate just convection(no diffusion) in a 1D flow |
Hi Natasha,
What do you mean exactly by 1D flow? Are you solving for u(x, t) or u(x, y, z, t)? For the former case, you can simply hand code the solver (you can refer to https://lorenabarba.com/blog/cfd-pyt...navier-stokes/). For the latter case, you probably mean a pipe flow, doubly wall-bounded flow or a boundary layer flow, for that case, you can either use common CFD softwares (e.g. fluent, openfoam) with a 2D case, or refer to the link above as well. Also depending on your domain size and Reynolds number, you might also need to consider what types of turbulence model you are using. Hope this helps. |
Hi,
In addition... The convection is modeled using the convective operator, for the Cartesian coordinates it's the x, y, z derivatives. The advection equation is the simplest case that you can try your knowledge on. In this link you can find an example of numerical solution using finite difference. https://espacephysiquesup.blogspot.c...uation-de.html |
A lot of programming software have builtin pde solvers that can handle advection problems. Anything with an RK4/RK4-5 can do it as well. Matlab for example.
|
Matlab - or the free gnu octave which does the same
|
All times are GMT -4. The time now is 23:19. |