CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   sonicFoam forwardstep negative temperature problem. (https://www.cfd-online.com/Forums/openfoam-solving/197523-sonicfoam-forwardstep-negative-temperature-problem.html)

ecad January 8, 2018 09:14

sonicFoam forwardstep negative temperature problem.
 
Hello, im trying to solve forwardstep tutorial by using sonicFoam solver with mach numbers of 0.8 and 2 and Gauss linear divSchemes. I tried finer meshes and lower deltaT values but i get the FOAM FATAL ERROR: Negative initial temperature T0 everytime im trying to solve this. Seems like this is due to changes in divSchemes but its required for the problem so i can't change it. Is there any other way to get around this ?

Taataa January 8, 2018 18:28

Assuming that you've setup boundary and initial conditions correctly, negative T means that the solution is unbounded. You have to change schemes e.g. using limiters and/or tighten tolerances. Usually limitedLinear 1 is a good option in unbounded cases. If it worked you can loosen the limiter by lowering the coefficient e.g. limitedLinear 0.2.

ecad January 8, 2018 18:31

Quote:

Originally Posted by Taataa (Post 677377)
Assuming that you've setup boundary and initial conditions correctly, negative T means that the solution is unbounded. You have to change schemes e.g. using limiters and/or tighten tolerances. Usually limitedLinear 1 is a good option in unbounded cases. If it worked you can loosen the limiter by lowering the coefficient e.g. limitedLinear 0.2.

Thank you. I solved it before reading this and i have done the same thing. Im gonna try lower than 1.


All times are GMT -4. The time now is 18:09.