|
[Sponsors] |
October 14, 2010, 08:46 |
Not writing volScalarField to hard disk
|
#1 |
New Member
Join Date: Mar 2009
Location: Sao Jose dos Campos, Brazil
Posts: 29
Rep Power: 17 |
Hello,
I've added the temperature to an incompressible solver (pisoFoam) as a volScalarField (adding the code below to createFields.H). Code:
volScalarField T ( IOobject ( "T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Code:
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << "rho max/min : " << max(rho).value() << " " << min(rho).value() << nl << "T max/min : " << max(T).value() << " " << min(T).value() << nl << endl; Thanks. |
|
October 14, 2010, 13:26 |
|
#2 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
It seems to come from the instruction runTime.write(); in your main file.
Are you sure it is correctly inserted ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to create initiate a volScalarField p without reading from disk NO_READ does not seem to work | dbxmcf | OpenFOAM Running, Solving & CFD | 14 | March 25, 2022 06:08 |
Hard disk speed important to increase CFD computing speed? | lawrencelaw | Hardware | 13 | November 17, 2009 14:35 |
3D LES of Air Flow in Hard Disk Drive | Trinnapong | FLUENT | 0 | April 17, 2008 21:04 |
Air flow in hard disk drives | Sundar | Main CFD Forum | 3 | July 10, 2004 02:20 |
Hard Disk Access Time | steve podleski | Main CFD Forum | 35 | August 3, 2000 13:14 |