|
[Sponsors] |
June 6, 2016, 11:40 |
rhoSimpleFoam unknown RASModel type laminar
|
#1 |
New Member
Thomas A
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
Hello
I'm trying to do a compressible simulation using rhoSimpleFoam for a laminar flow. The scripts I am using is based on an earlier OpenFOAM version (2.0 I think) as was working there, but I am running the newest version. When I run my scripts I get the following error: "--> FOAM FATAL ERROR: Unknown RASModel type laminar Valid RASModel types: 12 ( LRR LaunderSharmaKE RNGkEpsilon SSG SpalartAllmaras buoyantKEpsilon kEpsilon kOmega kOmegaSST kOmegaSSTSAS realizableKE v2f ) " Where my turbulenceProperties is set to the following: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v3.0+ | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType RAS; RAS { RASModel laminar; turbulence off; printCoeffs off; } // ************************************************************************* // |
|
June 7, 2016, 17:40 |
|
#2 |
New Member
Thomas A
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
Has nobody tried something similar?
|
|
June 8, 2016, 10:38 |
|
#3 | |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
Quote:
|
||
June 8, 2016, 11:20 |
|
#4 |
New Member
Thomas A
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
@vabishek thank you for your help. I already tried that, but it still produces the same error:
Selecting RAS turbulence model laminar --> FOAM FATAL ERROR: Unknown RASModel type laminar Valid RASModel types: 12 ( LRR LaunderSharmaKE RNGkEpsilon SSG SpalartAllmaras buoyantKEpsilon kEpsilon kOmega kOmegaSST kOmegaSSTSAS realizableKE v2f ) Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v3.0+ | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType laminar; RAS { RASModel laminar; turbulence off; printCoeffs off; } // ************************************************************************* // |
|
June 8, 2016, 11:24 |
|
#5 | |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
Quote:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType laminar; RAS { RASModel kOmega; turbulence off; printCoeffs on; } // ************************************************************************* // |
||
June 8, 2016, 11:54 |
|
#6 |
New Member
Thomas A
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
Arg, thanks for the tip
Just tried, but still got an error message because I then need to supply files for the boundary conditions - because in theory it shouldn't need them because it's running the simulation as laminar, but those are turbulent models, right? |
|
June 9, 2016, 08:32 |
|
#7 |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11 |
This bug seems to have been fixed "recentely"
check the following Commit: https://github.com/OpenFOAM/OpenFOAM...2940548af3ebb3 If your createFields.H in BuyoantSimpleFoam looks like this: Code:
autoPtr<compressible::RASModel> turbulence ( compressible::New<compressible::RASModel> ( rho, U, phi, thermo ) ); Code:
autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::New ( rho, U, phi, thermo ) ); |
|
June 11, 2016, 07:31 |
|
#8 |
New Member
Peter F
Join Date: Jun 2016
Posts: 1
Rep Power: 0 |
I can't locate the applications folder in order to change createFields.H. How do I do this?
I am running OpenFOAM via Docker on a Mac. So I don't really see a path or folder for OpenFOAM. I have tried to show the hidden folders, but the OpenFOAM or applications folder still doesn't appear. |
|
September 9, 2016, 05:58 |
|
#9 | |
Member
annn
Join Date: Jun 2016
Posts: 40
Rep Power: 10 |
Quote:
whats the difference between this: Code:
simulationType RAS; RAS { RASModel kOmega; turbulence off; printCoeffs on; } Code:
simulationType laminar; Last edited by cleoo; September 9, 2016 at 06:00. Reason: fogot sometin |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 02:47 |
time step continuity problem in VAWT simulation | lpz_michele | OpenFOAM Running, Solving & CFD | 5 | February 22, 2018 20:50 |
Divergent with rhoSimpleFoam and the boundary condition problems | qjh888 | OpenFOAM Running, Solving & CFD | 0 | May 17, 2016 21:31 |
Boundary Conditions | MtnRunBeachBum | OpenFOAM Pre-Processing | 1 | April 30, 2015 17:33 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |