|
[Sponsors] |
Output files: not write Phi, U_0 and phi_0 as output |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2015, 12:39 |
Output files: not write Phi, U_0 and phi_0 as output
|
#1 |
New Member
hamid reza
Join Date: Aug 2013
Posts: 4
Rep Power: 12 |
How can I force Openfoam to do not write Phi, U_0 and phi_0 as output?
|
|
February 7, 2015, 13:03 |
|
#2 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Change:
Code:
IOobject::AUTO_WRITE Code:
IOobject::NO_WRITE |
|
February 7, 2015, 15:41 |
|
#3 |
Senior Member
|
Hi,
@opedrofunk: In general these fields come not from solver but from discretisation of time derivatives. So, modifiations of the solver in general will not help. @hambo you can disable all output (setting outputInterval to rather large value, larger than endTime) and use writeRegisteredObject function object to write the fields of interest. Though, I guess, it can cause difficulties upon simulation restart. |
|
February 8, 2015, 03:59 |
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
You should not really do that. You are running second order in time and without second old-time fields (_0) you cannot do a precise restart.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|