CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Including user defined eqations

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 28, 2007, 09:03
Default I am trying to include a new e
  #1
Member
 
Tomislav Sencic
Join Date: Mar 2009
Posts: 42
Rep Power: 17
tsencic is on a distinguished road
I am trying to include a new equation in dieselEngineFoam.

I included:

fvScalarMatrix sootEqn
solve
(
fvm::ddt(rho, soot)
+ fvm::div(phi, soot)
==
0.5*mag(U)
);


In createFields.H I defined the field by:

volScalarField soot
(
IOobject
(
"soot",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh,
dimensionedScalar("zero", dimensionSet(1,-3,-1,0,0,0,0), 0.0)
);


It compiles, but at the beginning of the run I recive the error:

--> FOAM FATAL ERROR : valueInternalCoeffs cannot be called for a calculatedFvPatchField.
You are probably trying to solve for a field with a calculated boundary conditions.

From function
calculatedFvPatchField<type>::valueInternalCoeffs( const tmp<scalarfield>&) const
in file fields/fvPatchFields/basicFvPatchFields/calculated/calculatedFvPatchField.C at line 136.

FOAM exiting

What does it mean? How can I solve it?

Tomislav
tsencic is offline   Reply With Quote

 


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User defined bc anja OpenFOAM Running, Solving & CFD 20 June 6, 2008 12:12
User-Defined Fan Socrate FLUENT 0 March 28, 2007 10:25
User Defined GUI Frederik FLUENT 0 June 23, 2006 16:12
user defined scalars ramesh FLUENT 1 June 11, 2004 17:25
user defined viscosity solomon FLUENT 0 July 13, 2003 21:09


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