CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [SOWFA] pisoFoamTurbine solver contained in the SOWFA: SST Turbulence Model problems (https://www.cfd-online.com/Forums/openfoam-community-contributions/164812-pisofoamturbine-solver-contained-sowfa-sst-turbulence-model-problems.html)

capisedano January 2, 2016 20:47

pisoFoamTurbine solver contained in the SOWFA: SST Turbulence Model problems
 
Hello,

I have been using the pisoFoamTurbine solver contained in the SOWFA software (https://github.com/NREL/SOWFA). I'm using the SST turbulence model. To do so, I have included U, p, k and omega sub-directories as initial conditions for the case. However when when I run pisoFoamTurbine, it shows the following error:

"
Reading field, p...
Reading field, U...
Creating vorticity field, omega...


--> FOAM FATAL IO ERROR:
unexpected class name volScalarrField expected volVectorField
while reading object omega

file: /home/camilosedano/OpenFOAM/camilosedano-2.3.1/Turb/1_Turbina/0.25M/0/omega at line 15.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 136.

FOAM exiting
"

To solve it, I change the class of the "omega" file from volScalarField to volVectorField, and change the values from scalar to vector notation. When I run the solver again it shows the same error, but this time it states that it should read a volScalarField (as it used to be) instead of a volVectorField.

I have been looking at the solver code to see if I can find anything that leads to this error but I haven't found anything. I'm new to OpenFOAM so thanks for any help you can give me.

Thank you,
Camilo.

ArminAlavi December 3, 2019 06:13

same problem
 
hello
same problem here.
have worked yours out? I would appreciate it if you help me solve mine.

rs495 January 23, 2020 07:10

Hello,

I had the same issue, the problem is that the pisoFoamTurbine solvers create a vector field for vorticity that is also called omega, so there is a clash when you use kOmega or kOmega SST.
The problem can be avoided if you change the name of the vorticity field in the pisoFoamTurbine solvers to something other than omega and then recompile - hope this works for you!


All times are GMT -4. The time now is 16:00.