|
[Sponsors] |
June 28, 2007, 09:03 |
I am trying to include a new e
|
#1 |
Member
Tomislav Sencic
Join Date: Mar 2009
Posts: 42
Rep Power: 17 |
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 |
|
|
|
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 |