CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Error trying to run steady-state sonicFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 28, 2010, 12:30
Default Error trying to run steady-state sonicFoam
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 150
Rep Power: 7
dancfd is on a distinguished road
Hello all,

I receive a strange error when trying to run sonicFoam on my case. Eventually I want to run my case using sonicDyMFoam to have an oscillating airfoil. However, at this stage I only wish to test the simulation as a static, steady-state case. To do so, I ran moveDynamicMesh to get the airfoil angle where I wanted it, then copied the relevant /<time>/polyMesh/points file into the /constant/polyMesh directory, and edited the pointDisplacement file to prevent the mesh from moving further. However, when I try to run sonicFoam I get the following error:

Code:
Starting time loop

Time = 5e-08

Courant Number mean: 4.389700743e-05 max: 0.006296550206
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0

--> FOAM FATAL ERROR: 
mesh flux field does not exists, is the mesh actually moving?

    From function fvMesh::phi()
    in file fvMesh/fvMeshGeometry.C at line 392.

FOAM exiting
The simulation will run using sonicDyMFoam, though. Why is that? I do not want to solve the cellDisplacement equations if I do not need to, to speed up the simulation. sonicDyMFoam will not run with "steadyState" in the ddtSchemes subdict of system/fvSchemes, therefore I believe I need to use sonicFoam, but this error prohibits that!

Also, since this is a steady-state simulation, what is the best solver to use for compressible flow that will produce the same results as sonicDyMFoam for a steady case? As far as I can tell, sonicDyMFoam = sonicFoam + mesh motion, but which solver = sonicFoam but steady? I would guess rhoSimpleFoam. Note: these cases are all turbulent.

Thanks for the help,
Dan
dancfd is offline   Reply With Quote

Old   December 19, 2010, 11:45
Default Error Running rhoSimpleFoam
  #2
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 150
Rep Power: 7
dancfd is on a distinguished road
Hello all,

I am struggling to run rhoSimpleFoam on a case where sonicDyMFoam runs, but produces poor results. I receive the following error when running rhoSimpleFoam:

Code:
Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package ePsiThermo<pureMixture<constTransport<specieThermo<eConstThermo<perfectGas>>>>>


--> FOAM FATAL ERROR: 
Not implemented

    From function basicThermo::h()
    in file basicThermo/basicThermo.C at line 259.

FOAM aborting
Can anyone suggest what the problem could be? Note that there are unfortunately no tutorials for this solver.

Thanks,

Dan
dancfd is offline   Reply With Quote

Old   February 12, 2013, 03:15
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
immortality is on a distinguished road
change epsithermo to hpsithermo
immortality is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Steady State solver for High Mach No flows mecbe2002 OpenFOAM 9 February 23, 2012 18:51
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
SimpleFoam unable to reach steady state francois OpenFOAM Running, Solving & CFD 8 November 19, 2009 13:33
Monitor point values in a steady state simulation Kushagra CFX 2 July 13, 2008 20:03
steady state creeping flow dominik Main CFD Forum 4 March 29, 2004 08:29


All times are GMT -4. The time now is 14:42.