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

modify scalarTransportFoam, problems need help

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 29, 2017, 04:00
Question modify scalarTransportFoam, problems need help
  #1
New Member
 
yejian
Join Date: Nov 2017
Posts: 2
Rep Power: 0
dansan is on a distinguished road
Dear all.
I want to modify the salarTransportFoam to solve another problems.The code like this:
fvScalarMatrix VaEqn
(
- fvm::laplacian(Per, Va)
==
F*(Z1*C1+Z2*C2)
);

The fvSchemes file like this:
ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
}

divSchemes
{
default Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(Per, Va) Gauss linear corrected;

}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

when runing ,it displayed the following mistake:
"ill defined primitiveEntry starting at keyword 'laplacian(Per,' on line 36 and ending at line 57"
From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&)
in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 189.
I need help very much. Thank you very much.
dansan is offline   Reply With Quote

Reply

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
ScalarTransportFoam and turbulent diffusion coefficient rybakov2 OpenFOAM Running, Solving & CFD 2 June 24, 2014 14:21
ScalarTransportFoam for RTD calculations santoo_cfd OpenFOAM Running, Solving & CFD 34 May 22, 2014 10:20
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
modify scalarTransportFoam, problems need help panda60 OpenFOAM 8 December 4, 2009 13:30


All times are GMT -4. The time now is 19:43.