- **OpenFOAM Pre-Processing**
(*https://www.cfd-online.com/Forums/openfoam-pre-processing/*)

- - **where does this term come from**
(*https://www.cfd-online.com/Forums/openfoam-pre-processing/119207-where-does-term-come.html*)

where does this term come fromHi everyone,
I am solving a turbine case in OF2.1.1 using SRFSimpleFoam using kOmegaSST. I am having some bounding and convergence issues but am confused about a particular term in the divSchemes subdictionary in fvSchemes: Does anyone know which equation: Code:
`div((nuEff*dev(T(grad(Urel))))) Gauss upwind; //linear;` Gauss upwind to discretize it - I get fatal read beyond EOF error if i dont use linear with it.thanks very much in advance jonathan |

Hi Jonathan
I had a problem like this with tauMC in rhoCentralFoam and Bruno said me that its a tensor field not a scalar or vector field that can use upwind schemes. if you can get more information or others its nice to share. |

from kOmegaSST turbulence modelhi,
so the term comes from the turbulence model (kOmegaSST): From kOmegaSST.H Code:
` //- Return the source term for the momentum equation` Code:
`tmp<fvVectorMatrix> kOmegaSST::divDevReff(volVectorField& U) const` |

Greetings to all!
@Jonathan: The post Ehsan was talking about is this one: http://www.cfd-online.com/Forums/ope...tml#post429375 - post #4. And yes, this is basically the same pattern of mathematics going on in this case. If you run the following command, you'll see that all tutorials in OpenFOAM use "Gauss linear" for this particular kind of div: Code:
`find $FOAM_TUTORIALS -name fvSchemes | xargs grep "T(grad(U"` Bruno |

thanksQuote:
Thanks very much - your help is much appreciated. Best regards Jon |

All times are GMT -4. The time now is 02:08. |