CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: niklas
Forum: OpenFOAM Programming & Development February 14, 2011, 04:27
Replies: 6
Views: 4,415
Posted By niklas
You read q at start so that volScalarField exists...

You read q at start so that volScalarField exists already, then you place the code below
just before the equation you want to solve


IOobject qHeader
(
"q",
...
Forum: OpenFOAM Programming & Development February 14, 2011, 02:14
Replies: 6
Views: 4,415
Posted By niklas
volScalarField hTotal ( IOobject ( ...

volScalarField hTotal
(
IOobject
(
"hTotal",
runTime.timeName(),
mesh,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
Forum: OpenFOAM Programming & Development September 17, 2009, 09:17
Replies: 6
Views: 4,415
Posted By niklas
READ_IF_PRESENT just means that the field will be...

READ_IF_PRESENT just means that the field will be read from disk if it is available,
otherwise it will be set to the value given in the constructor.
Showing results 1 to 3 of 3

 
Forum Jump

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