|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Jan 2010
Posts: 44
Rep Power: 5 ![]() |
I set up one function in a subfoam to feedback the calculated data to the main solver as,
Foam::tmp<Foam::volScalarField> Foam::xxxx::abcd::getSRC() const { return tmp<volScalarField> ( new volScalarField ( IOobject ( "SRC", mesh_.time().timeName(), mesh_, IOobject::NO_READ, IOobject::NO_WRITE, false ), SRC_ ) ); } Then I exported the data in the main foam by UList<scalar> OF_SRC= xxxx->getSRC(); and found that the first two values are equal to zero (k=0 3.21677e-317, k=1 3.23275e-317) and the rest are the same to the values calculated in sub-foam. Any idea about this problem? |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 【Help】"Error: Update_Time_Level: invalid data" | Chen | FLUENT | 1 | November 10, 2012 13:53 |
| Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |
| CGNS vs Tecplot Data Format | LWhitson2 | Main CFD Forum | 3 | July 1, 2011 13:50 |
| How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |
| retrieving data of a previous problem for the next | manabendra das | Phoenics | 2 | January 28, 2001 10:17 |