CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Strange Problem DecomposePar and SurfaceSampling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2017, 19:37
Exclamation Strange Problem DecomposePar and SurfaceSampling
  #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've just faced a strange problem.
I have to run my simulation in parallel and here i have no problem. I use the scotch method. Then i have to extract the velocity profile over a patch so i wrote the following part in 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;
			}
		);
	}
}
its function is to extract the velocity profile from the patch "outlet".
I noticed in the file created by the surface sampling utility that its elements are fewer than the number cells at the patch, while, when i don't use the parallel computetion, they are the same.
I think this problem is up to the domain decomposition.
So, how cai i use the surface sampling after reconstructPar?

Thanks for help
FlyBob91 is offline   Reply With Quote

Old   July 18, 2017, 04:33
Default
  #2
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
My question is also: is there a command from terminal that let me do the same operations of surfaceSampling?
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



All times are GMT -4. The time now is 22:25.