CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Problem in divergence term (

titio April 7, 2009 07:27

Problem in divergence term
Hi Foamers,

I am trying to model a flow where besides the newtonian stress there is an extra stress term. I am using the icoFoam, as the flow is transient.

I try to include the extra tension in foam using the term

fvc::div (stressP + (nuS*rho)*DR))

where stressP is the extra tension, DR is the deformation rate, nuS and rho are the newtonian fluid viscosity and desnity respectively.

The solver compiles but when I try to run the solver I get the error

keyword div((stressP+((nuS*rho)*DR))) is undefined in dictionary "/home/amartins/solver_viscoelastico/testes/teste10_2/system/fvSchemes::divSchemes"

What I doing wrong? Anyone can help me out?



olesen April 7, 2009 09:47

You either need to define a corresponding entry in your divSchemes sub-dictionary, or set a "default" entry.

All times are GMT -4. The time now is 21:12.