|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Han Guanghui
Join Date: Mar 2022
Posts: 2
Rep Power: 0 ![]() |
Hello everyone! I am using Hystrath for rarefied gas simulation. There are two general boundary conditions in my DSMC simulation. When I use dsmcFreeStreamInflowPatch, the simulation can run.Then I want to use the nozzle plume boundary flow field as the boundary condition for DSMC simulation, which is spacing varing. Once I change gasFace boundryModel to dsmcFreeStreamInflowFieldPatch, there will be an error when running. The error description is
' Cannot find patchField entry for fairing file:/test/0/boundaryNumberDensity N2.boundaryField from line 27 to line28 '. Here is the boundary code I used: boundariesDict Code:
dsmcGeneralBoundaries
(
boundary
{
generalBoundaryProperties
{
patchName far;
}
boundaryModel dsmcFreeStreamInflowPatch;
dsmcFreeStreamInflowPatchProperties
{
typeIds (N2 O2);
velocity (-3053.4 0 0);
translationalTemperature 217.63;
rotationalTemperature 217.63;
vibrationalTemperature 217.63;
numberDensities
{
N2 1.554e17;
O2 3.886e16;
};
}
}
boundary
{
generalBoundaryProperties
{
patchName gasFace;
}
boundaryModel dsmcFreeStreamInflowFieldPatch;
dsmcFreeStreamInflowFieldPatchProperties
{
typeIds (N2 O2);
velocity (-1053.4 0 0);
translationalTemperature 217.63;
rotationalTemperature 217.63;
vibrationalTemperature 217.63;
numberDensities
{
N2 1.554e17;
O2 3.886e16;
};
}
}
);
Code:
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object boundaryNumberDensity_N2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 -3 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
gasFace
{
type fixedValue;
value nonuniform List<scalar>
8216 // number of cells in the boundary
(
1.55E+17
...
);
}
}
Code:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object boundaryT;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
gasFace
{
type fixedValue;
value nonuniform List<vector>
6082 // number of cells in the boundary
(
( 217.63 217.63 217.63 )
...
);
}
}
Code:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object boundaryU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
gasFace
{
type fixedValue;
value nonuniform List<vector>
6082 // number of cells in the boundary
(
( -2212.7 -2810.3 4.1803 )
...
);
}
}
|
|
|
|
|
|
![]() |
| Tags |
| dsmc, dsmcfoam, hystrath |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| implementing time varying boundary condition | EricS | OpenFOAM Running, Solving & CFD | 2 | May 5, 2022 04:43 |
| Cyclic boundary condition in foam-extend 4.0 | rellumeister | OpenFOAM Pre-Processing | 2 | March 3, 2020 09:03 |
| several fields modified by single boundary condition | schröder | OpenFOAM Programming & Development | 3 | April 21, 2015 06:09 |
| Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
| Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |