|
[Sponsors] |
writeObjects FO, Where the data are coming from? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2020, 09:22 |
writeObjects FO, Where the data are coming from?
|
#1 |
Senior Member
|
Hello all,
We already know that while running a simulation a huge amount of data, is stored on the RAM at each time step. Some are written on the disk, called by the main solver code (like U p etc) and some are written on the disk because of the FOs we have added to the controlDict file. Fair enough. Ok now. After finishing the run. All unwritten data are removed from the RAM storage and all you have as data is what is written on the disk inside the time directories. Right? So how is it when I run (buoyantCavity tutorial in buoyantSimpleFoam solver): Code:
buoyantSimpleFoam -postProcess -func writeObjects Code:
type writeObjects; libs ("libutilityFunctionObjects.so"); objects (rho); writeControl writeTime; Does it use a reverse kind of formulation (Computing the rho field based on the other existing fields) or what? Bests, Mojtaba
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
|
April 14, 2020, 17:25 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
`rho` is always available as a `rhoField` type.
It is retrieved from the turbulence model being used. If the simulation is incompressible, it is just a `geometricOneField`, and if not, a `volScalarField`. Hope it helps.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 20:06 |
A CFX-POST error (ver 14.5.7) | wangyflp88 | CFX | 2 | July 22, 2017 00:17 |
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam | MikeHersee | ParaView | 2 | January 6, 2015 08:27 |
Data Produced From Fine Marine Cant Match with The Experimental Data | PeiSan | Fidelity CFD | 4 | August 23, 2014 05:33 |
export data at nodes | Meenu | FLUENT | 1 | December 30, 2011 01:24 |