CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Test cases for rhoSimpleFoam & sonicDyMFoam (http://www.cfd-online.com/Forums/openfoam/74661-test-cases-rhosimplefoam-sonicdymfoam.html)

sim1246 April 6, 2010 05:06

Test cases for rhoSimpleFoam & sonicDyMFoam
 
Hi,
I am new user of OpenFOAM-1.6. I can't find test for rhoSimpleFoam & sonicDyMFoam. Where I can find them?

Thanks in advance

askjak April 6, 2010 10:01

rhoSimpleFoam tutorial case
 
1 Attachment(s)
Hey,

I have compiled a test case.

-Ask

sim1246 April 7, 2010 00:37

Quote:

Originally Posted by askjak (Post 253342)
Hey,

I have compiled a test case.

-Ask

Thank you very much!!!

khoopes October 27, 2010 18:04

help with rhosimplefoam tutorial
 
So I cannot get this tutorial to run, I ran blockmesh and thenn rhosimplefoam and I get this


-bash-3.2$ rhoSimpleFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.0-5773603db906
Exec : rhoSimpleFoam
Date : Oct 27 2010
Time : 16:03:34
Host : m6int01.fsl.byu.edu
PID : 31220
Case : /bluescr/khoopes/sims/angledDuct
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
Reading field U

Reading/calculating face flux field phi



--> FOAM FATAL IO ERROR:
keyword rhoMax is undefined in dictionary "/bluescr/khoopes/sims/angledDuct/system/fvSolution::SIMPLE"

file: /bluescr/khoopes/sims/angledDuct/system/fvSolution::SIMPLE from line 70 to line 71.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 395.

FOAM exiting

RalphS October 28, 2010 03:16

Since OpenFOAM 1.7 you have to define rhoMax and rhoMin like you define pMin. Here is an example:

SIMPLE
{
nUCorrectors 2;
nNonOrthogonalCorrectors 0;
pMin pMin [1 -1 -2 0 0 0 0] 1000;
rhoMax rhoMax [1 -3 0 0 0] 2;
rhoMin rhoMin [1 -3 0 0 0] 0.001;

}

khoopes October 28, 2010 17:52

That worked great for that tutorial, thanks for the quick reply. I have used your case as a model for my geometry, and now I am getting this error.

Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux : 5914.4
Specified mass inflow : 30.8438
Specified mass outflow : 30.8437
Adjustable mass outflow : 0


Any Ideas? I have tried running potentialFoam, but it has the same problem. I have used your U boundry condition on the inlet, and also tried just a fixed value with similar results.

Thanks,


All times are GMT -4. The time now is 15:48.