# Simulating convection

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 7, 2020, 04:27 Simulating convection #1 New Member   Natasha Join Date: Jan 2020 Posts: 7 Rep Power: 5 Hi, I'd like to know if there are softwares that can simulate just convection(no diffusion) in a 1D flow

 February 21, 2020, 05:17 #2 New Member   Sen Wang Join Date: Jul 2018 Location: Singapore / Notre Dame, U.S. Posts: 19 Blog Entries: 1 Rep Power: 6 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.

 February 26, 2020, 07:57 #3 Member   C. Ziyad Join Date: Oct 2010 Posts: 37 Rep Power: 14 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

 February 27, 2020, 01:24 #4 Senior Member   Lucky Join Date: Apr 2011 Location: Orlando, FL USA Posts: 5,141 Rep Power: 61 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 28, 2020, 00:19 #5 Senior Member   Svetlana Tkachenko Join Date: Oct 2013 Location: Australia, Sydney Posts: 405 Rep Power: 13 Matlab - or the free gnu octave which does the same

 Tags comsol., convection., pdes