CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

A first time CFD user's queries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2016, 23:38
Default A first time CFD user's queries
  #1
New Member
 
Ken
Join Date: Dec 2015
Posts: 16
Rep Power: 10
kennyboy is on a distinguished road
Hi I have a few questions about CFD which I was hoping to clarify here. (I am extremely new to this so pardon the 'stupidity' of my questions)

I understand that in CFD, we begin with a mathematical problem (Navier Stokes - to model fluid motion etc). Followed by breaking this Navier Stokes equations into simpler numerical models for the discretised control volumes. The control volumes are broken down into cells and the values are obtained by means like finite difference, finite volume or finite element methods.

My questions are...

1. In CFD, how is the step from the Navier Stokes -> Numerical modelling done? Like in packages like Fluent for instance, we just key in the boundary conditions but I dont remember seeing this step of Navier Stokes -> Numerical modelling. Or are we supposed to do this step ourselves before passing the numerical model into the CFD package to solve for all the cells?

2. How is the FDM/FEM/FVM conducted in the packages? I know how they are done theoretically (FDM from taylor series simplifications, FVM from conservation of mass/momentum etc and values at cell centres) but how is this 'seen' in the packages? I dont recall seeing this during my previous simulation on the CFD package.

3. Stability criteria such as the CFL etc, since we include boundary conditions into the CFD package, how do we tell what are the equations to look at for the stability? Or does it depend on quantitiesrequired from the simulation (Eg: velocity, pressures etc) and look at the formulae for these quantities to see what happens when the n-th cell approaches infinity (to see if the value will explode etc)?

Thank you very much in advance. Once again very sorry if they sound silly.
kennyboy is offline   Reply With Quote

Old   November 17, 2016, 00:32
Default
  #2
New Member
 
Join Date: Mar 2014
Posts: 14
Rep Power: 12
j_02 is on a distinguished road
Quote:
1. In CFD, how is the step from the Navier Stokes -> Numerical modelling done? Like in packages like Fluent for instance, we just key in the boundary conditions but I dont remember seeing this step of Navier Stokes -> Numerical modelling. Or are we supposed to do this step ourselves before passing the numerical model into the CFD package to solve for all the cells?
1. Typically, a CFD package performs the numerical modeling internally. It has been a while since I used Fluent, but I remember specifying the order of accuracy for convective and diffusive terms, as well as the method of interpolation for cell face values. These are just two basic examples of the numerical modeling techniques you can specify during pre-processing.

In some CFD codes, you can specify things such as implicit or explicit integration, finite volume or finite difference discretization, linear solver methods, preconditioners, etc. These all vary based on the code.

So yes, you typically specify numerical modeling options before submitting a job to the CFD solver. This goes along with a discretized domain (mesh) if your code requires this. Generally, you can refer to the solver manual for information on these modeling techniques.

Quote:
2. How is the FDM/FEM/FVM conducted in the packages? I know how they are done theoretically (FDM from taylor series simplifications, FVM from conservation of mass/momentum etc and values at cell centres) but how is this 'seen' in the packages? I dont recall seeing this during my previous simulation on the CFD package.
2. Again, the CFD software typically includes a solver manual which includes details of the discretizations and algorithms involved for solving the governing equations. This information may be in general terms, because some low-level details may be proprietary to the software. Since OpenFOAM is open-source, you can crack open the source code in conjunction with studying the manual to get a good perspective of the solution methods.

Quote:
3. Stability criteria such as the CFL etc, since we include boundary conditions into the CFD package, how do we tell what are the equations to look at for the stability? Or does it depend on quantitiesrequired from the simulation (Eg: velocity, pressures etc) and look at the formulae for these quantities to see what happens when the n-th cell approaches infinity (to see if the value will explode etc)?
3. I am not sure about this, but I think the codes likely examine local cell quantities at each time-step/iteration step to determine and maintain stability. Again, details are likely in the solver manuals as the methodology is probably unique to the implementation.
j_02 is offline   Reply With Quote

Old   November 17, 2016, 02:58
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by kennyboy View Post
Hi I have a few questions about CFD which I was hoping to clarify here. (I am extremely new to this so pardon the 'stupidity' of my questions)

I understand that in CFD, we begin with a mathematical problem (Navier Stokes - to model fluid motion etc). Followed by breaking this Navier Stokes equations into simpler numerical models for the discretised control volumes. The control volumes are broken down into cells and the values are obtained by means like finite difference, finite volume or finite element methods.

My questions are...

1. In CFD, how is the step from the Navier Stokes -> Numerical modelling done? Like in packages like Fluent for instance, we just key in the boundary conditions but I dont remember seeing this step of Navier Stokes -> Numerical modelling. Or are we supposed to do this step ourselves before passing the numerical model into the CFD package to solve for all the cells?

2. How is the FDM/FEM/FVM conducted in the packages? I know how they are done theoretically (FDM from taylor series simplifications, FVM from conservation of mass/momentum etc and values at cell centres) but how is this 'seen' in the packages? I dont recall seeing this during my previous simulation on the CFD package.

3. Stability criteria such as the CFL etc, since we include boundary conditions into the CFD package, how do we tell what are the equations to look at for the stability? Or does it depend on quantitiesrequired from the simulation (Eg: velocity, pressures etc) and look at the formulae for these quantities to see what happens when the n-th cell approaches infinity (to see if the value will explode etc)?

Thank you very much in advance. Once again very sorry if they sound silly.

I think you should distinguish between questions concerning general CFD issues and questions concerning implementation in commercial CFD codes.
What CFD textbook have you used to start with?
FMDenaro is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34


All times are GMT -4. The time now is 21:55.