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

Any example of manualCoeffs for decomposeParDict?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2009, 17:22
Red face Any example of manualCoeffs for decomposeParDict?
  #1
Member
 
Hai Yu
Join Date: Mar 2009
Location: OvgU, Magdeburg
Posts: 65
Rep Power: 8
yuhai is on a distinguished road
Hi, everybody,
Good Day.
I am now a little comfuse on decomposePar for turbDyMFoam, it always cut through the GGI interface.
So I want to decompose manually,
firstly, I tried to set the "procBoundaryXXtoYY" interfaces in Gambit, and convert them to Foam, problems are countered:
1, if fluentMeshToFoam converting 2D mesh, defaultFaces (frontandBackPlane in Gambit) are not set into groups.
2, if fluent3DMeshToFoam converting 2D mesh with z depth, "faceZones" and "pointZones" don't provide enough information for "cellProcAddressing" and "pointProcAddressing".

Then, I go to the "manualCoeffs" in decomposeParDict, but I can't find the example or explain of the grammar of the DataFile.

Can anybody give me any hints?

Thanks in advance.

Hai Yu
yuhai is offline   Reply With Quote

Old   April 19, 2009, 18:48
Default decomposeParDict & manualCoeffs
  #2
New Member
 
Axel Mohr
Join Date: Mar 2009
Location: Kiel, Schleswig-Holstein, Germany
Posts: 24
Rep Power: 8
alexm is on a distinguished road
Hi,
sorry, I have no answer, but the same question. I also would like to know more about the manualCoeffs data file in decomposeparDict. Its just about an old problem of getting a sharp interface of two phases with the snappyHexMesh tool.
I hope, someone can help us.
Greetings, Axel
alexm is offline   Reply With Quote

Old   July 22, 2009, 12:16
Default
  #3
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 8
Schag is on a distinguished road
Hi all,

I'm actually looking for the same thing.
Does anyone found an example or explanation/tutorial to do it?

Or eventually someone knows how to define precise cutting planes to separate regions in order to run in parallel without using manual option?

Thx,

Julien
Schag is offline   Reply With Quote

Old   May 11, 2010, 03:51
Default
  #4
New Member
 
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 8
novyno is on a distinguished road
Hi All,

here you can find an example of a ManualDecompositionFile of a simple cube splitted in 8 elements. This file contains the same number of the mesh elements and the entries refer to the processor number. So in the example in attached the first and second elements are assigned to the processor0, etc...
__________________
...The best way to acquire new knowledge is to share it...
novyno is offline   Reply With Quote

Old   May 11, 2010, 03:53
Default
  #5
New Member
 
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 8
novyno is on a distinguished road
Sorry... I can't attach the file... I put it here!

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class labelList;
location "constant";
object cellDecomposition;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


8
(
0
0
1
1
1
1
0
0
)


// ************************************************** *********************** //
__________________
...The best way to acquire new knowledge is to share it...
novyno is offline   Reply With Quote

Old   June 30, 2015, 13:11
Default
  #6
New Member
 
Adriano
Join Date: Jun 2015
Posts: 3
Rep Power: 2
AdrianoCT is on a distinguished road
Hy guys,

is it possible do a CellDecomposition from cellSet? I have to manage 15 mln of cells, so isn't convenient split the domain manually.

Any suggestions? Thanks
AdrianoCT is offline   Reply With Quote

Old   July 21, 2015, 10:51
Default
  #7
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Québec, QC, Canada
Posts: 208
Rep Power: 9
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Quote:
Originally Posted by AdrianoCT View Post
Hy guys,

is it possible do a CellDecomposition from cellSet? I have to manage 15 mln of cells, so isn't convenient split the domain manually.

Any suggestions? Thanks
Yes, it is not obvious but here's how I managed to do it:
run topoSet to create a faceSet from a cellSet using the faceSet cellToFace option.

Here's an example of the topoSetDict (where you should have created a cellSet):
Code:
   {
       name    myFaceSet;
       type    faceSet;
       action    new;
       source    cellToFace;
       sourceInfo
       {
       set myCellZone;
       option all;
       }
   }
you can then run a decomposePar with the singleProcessorFaceSets command. You may want to also include both your cyclic patches in the singleProcessorFaceSets command if you are doing this for an AMI simulation...

-Louis
louisgag is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:28.