|
[Sponsors] | |||||
decomposePar doesn't decompose boundaryFields |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
ishan
Join Date: Oct 2017
Posts: 80
Rep Power: 10 ![]() |
Hello.
When I run decomposePar on my simpleFoam case it decomposes only the internalField data and not the boundaryField data. I want to run a simpleFoam case with U internalFields values generated from potentialFoam. The geometry/mesh/patch names I am using is same for both the solvers. But I had to simplify the BC for potentialFoam run. Accordingly, I mapped the U field from potentialFoam runto U/0 in simpleFoam folder. I want to use this mapped field as values to internalFields to simpleFoam run. Since I am dealing with large mesh, I copied that data into a separate foamFile callled initialU and its format looks like this: Code:
initialU //name of the field List<vector> 9528301 ( (x1 y1 z1) (x2 y2 z2) .... ); By the way, this foamFile is located in 0 folder. The U/0 folder looks like this: Code:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "initialU"
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform $initialU;
boundaryField
{
//my boundary conditions
}
The decomposed U file from processor0 looks like this: Code:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform List<vector>
531740
(
(1.92541 -0.998319 0.87524)
(1.81862 -1.05479 0.762567)
(1.78588 -1.01315 0.756257)
...
)
;
}
}
In the original mapped file, i.e. before I did all these shenanigans, the U/0 looked like this: Code:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform List<vector>
9528301
(
(137.464 -2.17855 -0.202383)
(137.466 -2.17814 -0.20957)
(140.515 -2.36609 -0.160376)
..............
);
boundaryField
{
//my boundary conditions
}
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| decomposePar no field transfert | Jeanp | OpenFOAM Pre-Processing | 3 | June 18, 2022 13:01 |
| Problem with decomposePar (and mapFields) for large problem | quarkz | OpenFOAM Pre-Processing | 2 | February 21, 2019 10:51 |
| multiRegion decomposePar should not decompose each region over all processors | svenk | OpenFOAM Pre-Processing | 1 | April 11, 2018 06:44 |
| decomposePar 4-core warning/error? | Boloar | OpenFOAM Bugs | 23 | April 8, 2014 09:57 |
| decomposePar gives errors | of_user_ | OpenFOAM | 1 | July 4, 2011 06:27 |