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

Any example of manualCoeffs for decomposeParDict?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2009, 18:22
Red face Any example of manualCoeffs for decomposeParDict?
  #1
Member
 
Hai Yu
Join Date: Mar 2009
Location: Harbin
Posts: 67
Rep Power: 17
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, 19:48
Default decomposeParDict & manualCoeffs
  #2
New Member
 
Axel Mohr
Join Date: Mar 2009
Location: Kiel, Schleswig-Holstein, Germany
Posts: 24
Rep Power: 17
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, 13:16
Default
  #3
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
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, 04:51
Default
  #4
New Member
 
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 17
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, 04:53
Default
  #5
New Member
 
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 17
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, 14:11
Default
  #6
New Member
 
Adriano
Join Date: Jun 2015
Posts: 3
Rep Power: 11
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, 11:51
Default
  #7
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
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


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 07:24.