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

Bug extracting field in parallel simulation?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2017, 10:17
Default Bug extracting field in parallel simulation?
  #1
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
Hello to all,
i'm simulating in parallel a flow in a rectangular cross section channel. I have to extract the outlet velocity profile and use it as inlet condition in another simulation. Unfortunately, when i pass the velocity profile, somethig worng happens in the reconstruction of the mesh, because the two profile are different.
Here the passages of my simulation

Code:
blockMesh
decomposePar -force
mpirun -np 30 pimpleFoam -parallel
reconstructPar -latestTime
here how i extract the profile in the controlDict

Code:
functions
{
	surfaceSampling
	{

 		type surfaces;

		functionObjectLibs ("libsampling.so");
		enabled         true;
		outputControl   onEnd;
		interpolationScheme cellPointFace; 

		surfaceFormat    foam;  

		fields
 		(
  			U
		);

		surfaces
		(
			outlet
			{
				type patch;
				patches	("outlet");
				interpolate     false;    
				triangulate     false;
			}
		);
	}
}
then i include the file created, after formattin it, in the second simulation but the two profiles look different. Something wrong happens because the velocity vectors are not ordered in the correct manner even if the same vectors are present.
Any idea to solve this problem?
FlyBob91 is offline   Reply With Quote

Reply


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
Parallel simulation on STAR-CCM+ 11.06.010-R8 Hosseinmgh_chemeng Siemens 1 August 30, 2017 08:21
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 11:58
running multiple parallel cases in openfoam slows the simulation kkpal OpenFOAM Running, Solving & CFD 2 August 21, 2015 11:08
Temperature field stops changing in transient simulation Jeffzda OpenFOAM Running, Solving & CFD 1 September 25, 2013 01:19
simulation of plasma field Ralf Schmidt FLUENT 6 September 15, 2005 12:25


All times are GMT -4. The time now is 01:38.