CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Problem in divergence term

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 7, 2009, 07:27
Default Problem in divergence term
Senior Member
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 10
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
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?


titio is offline   Reply With Quote

Old   April 7, 2009, 09:47
Senior Member
Mark Olesen
Join Date: Mar 2009
Posts: 802
Rep Power: 21
olesen will become famous soon enough
You either need to define a corresponding entry in your divSchemes sub-dictionary, or set a "default" entry.
olesen is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Divergence problem - NOT the mesh Carlos FLUENT 1 August 2, 2008 09:38
Divergence problem on different meshes Harry Main CFD Forum 2 September 26, 2006 00:23
Problem with Joulebs effect source term in the energy equation galaad OpenFOAM Running, Solving & CFD 0 January 19, 2006 13:01
Periodic flow boundary condition problem sudha FLUENT 3 April 28, 2004 08:40
divergence problem.. jieremy FLUENT 8 May 23, 2003 03:17

All times are GMT -4. The time now is 23:42.