CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

PostProcessing folder not updated on convergence

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2020, 10:22
Default PostProcessing folder not updated on convergence
  #1
New Member
 
Ben Simpson
Join Date: Dec 2019
Location: UK
Posts: 16
Rep Power: 2
b.simpson is on a distinguished road
Hi,

My OpenFOAM model is writing data at the defined writeTime in my controlDict but it is not writing the final simulation data to the PostProcessing folder when the convergence criteria is met. Does anyone have any idea what is causing this?

For information, I am running buoyantSimpleFoam using the OpenFOAM-dev version. I have several volFieldValue, fieldMinMax and surfaces called in my functionObjects. In my last simulation run, these were writen to the PostProcessing folder at times 1000, 2000, and 3000 but not when the simulation converged at time 3917.

Below is my controlDict:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     buoyantSimpleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         7000;

deltaT          1;

writeControl    timeStep;

writeInterval   1000;

purgeWrite      1;

writeFormat     ascii;

writePrecision  8;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

/*libs (
      "libOpenFOAM.so"
      "libsimpleSwakFunctionObjects.so"
      "libswakFunctionObjects.so"
      "libgroovyBC.so"
     );*/

functions
{
	#include "surfaces"
	
	fieldMinMax
	  {
		type                fieldMinMax;
		libs  				("libfieldFunctionObjects.so");
		log                 yes;
		writeControl       	writeTime;
		//writeInterval      	1;
		//mode              magnitude;
		fields             	( U p T rho CO2);
	  }
	  
	CO2
		{
			type    			scalarTransport;
			libs 				("libsolverFunctionObjects.so");
			writeControl       	timeStep;
			writeInterval      	1;
			active          	true;
			autoSchemes     	false;
			nCorr           	0;
			resetOnStartUp 		false;
			field				CO2;
			fvOptions       
			{
			 
			}
		}
		
	comfortAnalysis
		{
			type            comfort;
			libs            ("libfieldFunctionObjects.so");
			
			metabolicRate	1.2;
			clothing		0.9;
			extWork			0.0;

			executeControl  writeTime;
			writeControl    writeTime;

		}
		
	/*modelAverages
		{
			type            volFieldValue;
			libs            ("libfieldFunctionObjects.so");
			log				true;
			writeControl    writeTime;
			writeFields		true;
			
			source			all;
			
			operation		volAverage;

			fields
			(
				T
				CO2
				U
			);
		}*/
		
	breathingZoneAverages
		{
			type            volFieldValue;
			libs            ("libfieldFunctionObjects.so");
			log				true;
			writeControl    writeTime;
			writeFields		true;
			
			regionType		cellZone;
			name			breathingZone;
			
			operation		volAverage;

			fields
			(
				T
				CO2
				U
				PMV
				PPD
			);
		}
	
	spaceAverage
		{
			type            volFieldValue;
			libs            ("libfieldFunctionObjects.so");
			log				true;
			writeControl    writeTime;
			writeFields		true;
			
			regionType		cellZone;
			name			spaceZone;
			
			operation		volAverage;

			fields
			(
				T
				CO2
				U
			);
		}
		
	/*testAverage
		{
			type            volFieldValue;
			libs            ("libfieldFunctionObjects.so");
			log				true;
			writeControl    writeTime;
			writeFields		true;
			
			regionType		cellZone;
			name			localTest;
			
			operation		volAverage;

			fields
			(
				T
				CO2
			);
		}*/
}

// ************************************************************************* //
Thank you in advance for any support you can provide me with solving this issue.

Kind regards,
Ben
b.simpson is offline   Reply With Quote

Reply

Tags
buoyantsimplefoam, openfoam-dev, postprocessing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Low Mach number wing/body junction convergence Zen SU2 6 May 3, 2019 05:51
CFX overwhelming Fluent in mass convergence of boundary layer separation case Pierre1 FLUENT 7 March 26, 2015 22:43
Problems with convergence with an easy system franzdrs Main CFD Forum 0 June 15, 2009 19:17
increasing mesh quality is leading to poor convergence tippo CFX 2 May 5, 2009 11:55
convergence problem with SIMPLER NURAY KAYAKOL Main CFD Forum 1 February 24, 1999 14:43


All times are GMT -4. The time now is 14:56.