CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Simulating convection (https://www.cfd-online.com/Forums/main/224101-simulating-convection.html)

Natasha February 7, 2020 03:27

Simulating convection
 
Hi,

I'd like to know if there are softwares that can simulate just convection(no diffusion) in a 1D flow

wangsen992 February 21, 2020 04:17

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.

phy4me February 26, 2020 06:57

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

LuckyTran February 27, 2020 00:24

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.

Светлана February 27, 2020 23:19

Matlab - or the free gnu octave which does the same


All times are GMT -4. The time now is 23:19.