View Issue Details

IDProjectCategoryView StatusLast Update
0001951OpenFOAM[All Projects] Bugpublic2015-12-15 19:08
Reporterv_abishekAssigned Tohenry 
Status resolvedResolutionfixed 
PlatformLinuxOSRedHatOS Version6.7
Product Version 
Fixed in Version 
Summary0001951: SRFSimpleFoam solver does not work with laminar flow model
DescriptionThe SRFSimpleFoam solver works only with RAS model. When "simluationType" is set to laminar, the solver still looks for the RAS entry. This can be fixed by a minor change in code. The "createFields.H" in SRFSimpleFoam needs to be modified as follows ($FOAM_SOLVERS/incompressible/simpleFoam/SRFSimpleFoam/createFields.H):

- autoPtr<incompressible::RASModel> turbulence
+ autoPtr<incompressible::turbulenceModel> turbulence

- incompressible::New<incompressible::RASModel>(U, phi, laminarTransport)
+ incompressible::turbulenceModel::New(U, phi, laminarTransport)
Steps To ReproduceModify the constant/turblenceProperties file in $FOAM_TUTORIALS/incompressible/SRFSimpleFoam/mixer/ and set simulationType to laminar.
TagsNo tags attached.



2015-12-15 19:08

manager   ~0005768

Resolved in OpenFOAM-3.0.x by commit dd6bec4ad3cb92a63805e1a13d37d993a7af0653
Resolved in OpenFOAM-dev by commit 64b2cddfe503543a901ea451038df60ba34585e9

Issue History

Date Modified Username Field Change
2015-12-15 16:26 v_abishek New Issue
2015-12-15 19:08 henry Note Added: 0005768
2015-12-15 19:08 henry Status new => resolved
2015-12-15 19:08 henry Resolution open => fixed
2015-12-15 19:08 henry Assigned To => henry