CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   I can't add turbulence model in multiPhaseEulerFoam (https://www.cfd-online.com/Forums/openfoam/242256-i-cant-add-turbulence-model-multiphaseeulerfoam.html)

saeed sangchooly April 12, 2022 10:07

I can't add turbulence model in multiPhaseEulerFoam
 
hi everyone

I'm trying to simulate a 3phase case with multiphaseEulerFoam solver. water, oil and air. with interfaceCompression for (air and water) and (air and oil).

I can't add komegaSSTSato or any other turbulence model. in the first time step when it comes to solving transport equation for turbulence parameters (k,omega,..) the solver give me the Floating point exception error.

I've tried using the results of a laminar case as initial condition for my turbulence case.
I've tried many hexahedral meshes with really good quality up to 1m cells.
I've tried many turbulence parameters estimations for initial and boundary condition for each phase.

I really dont know what I'm missing here.

it would be great if anyone can give me a clue .

saeed sangchooly April 14, 2022 20:34

Quote:

Originally Posted by saeed sangchooly (Post 826114)
hi everyone

I'm trying to simulate a 3phase case with multiphaseEulerFoam solver. water, oil and air. with interfaceCompression for (air and water) and (air and oil).

I can't add komegaSSTSato or any other turbulence model. in the first time step when it comes to solving transport equation for turbulence parameters (k,omega,..) the solver give me the Floating point exception error.

I've tried using the results of a laminar case as initial condition for my turbulence case.
I've tried many hexahedral meshes with really good quality up to 1m cells.
I've tried many turbulence parameters estimations for initial and boundary condition for each phase.

I really dont know what I'm missing here.

it would be great if anyone can give me a clue .

can anyone help me?

geth03 April 20, 2022 04:18

can you tell which OF version you use?

can you use the banana-trick and show us the ouput?
should look like this:
--> FOAM FATAL ERROR:
Unknown RASModel type banana

Valid RASModel types:

2
(
kEpsilon
kOmegaSST
)

here you can see that multiphaseEulerFoam for my custom solver can only use 2 tubulence models. is komegaSSTSato a valid option in your case?

saeed sangchooly April 24, 2022 12:51

Quote:

Originally Posted by geth03 (Post 826519)
can you tell which OF version you use?

can you use the banana-trick and show us the ouput?
should look like this:
--> FOAM FATAL ERROR:
Unknown RASModel type banana

Valid RASModel types:

2
(
kEpsilon
kOmegaSST
)

here you can see that multiphaseEulerFoam for my custom solver can only use 2 tubulence models. is komegaSSTSato a valid option in your case?

dear geth03
currently Im trying to use komegaSSTSato
and this is the output of banana-trick:

--> FOAM FATAL ERROR:
[4] Unknown RASModel type kOmegaSSSato

Valid RASModel types:

8
(
LaheyKEpsilon
continuousGasKEpsilon
kEpsilon
kOmegaSST
kOmegaSSTSato
kineticTheory
mixtureKEpsilon
phasePressure
)

geth03 April 25, 2022 07:27

ok, so kOmegaSSTSato is a valid option.

the floating point exception error ist most likely the result of a division by zero. when you initialize your turbulence values such as k and omega, do not set the values in the domain to zero.

for an initial test run do not use wall functions for turbulence properties, use zero gradient instead and see if it is running.

try these suggestions out and let me know if it works.

saeed sangchooly May 15, 2022 13:58

Im sorry it took me a while to answer.

I've tried it (zerogradient) , it didn't work.
I've no idea...


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