|
[Sponsors] |
June 5, 2018, 20:26 |
Field output not working
|
#1 |
Member
Martin
Join Date: Dec 2011
Posts: 40
Rep Power: 15 |
I'm having problems to write fields. I created some fields in the createFields.H file as follows:
volVectorField H ( IOobject ( "H", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), B / mu0 ); If this field is created in the createFields.H file it is written to file correctly; however, when I create a field (with the same arguments) and place it in a .H file that is included in every iteration it does not writes the data to a file. I think that the problem could be that the object is created every iteration and therefore is not added to the object registry. Is that correct? Thanks in advane |
|
Tags |
field output, ioobject, volscalarfield output |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 05:49 |
How to control output time of pressureTools functions? | Fluido | OpenFOAM Post-Processing | 1 | May 19, 2014 09:49 |
kEpsilon divergence | s.m | OpenFOAM Running, Solving & CFD | 0 | May 27, 2013 10:30 |
field functions - table | crevoise | STAR-CCM+ | 3 | March 26, 2013 10:37 |
Fundamental output format control of field values and time | dbxmcf | OpenFOAM | 1 | January 12, 2011 11:50 |