mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: InteractionLists. Writing referredWallFaces out under the
control of the writeCloud Switch.
This commit is contained in:
@ -178,10 +178,10 @@ void Foam::Cloud<ParticleType>::calcConcaveCells() const
|
||||
// }
|
||||
|
||||
// Force all cells to be treated exactly
|
||||
// concaveCell[cellI] = 1;
|
||||
concaveCell[cellI] = 1;
|
||||
|
||||
// Force all cells to be treated by planes
|
||||
concaveCell[cellI] = 0;
|
||||
// concaveCell[cellI] = 0;
|
||||
}
|
||||
|
||||
// {
|
||||
|
||||
@ -388,6 +388,8 @@ void Foam::InteractionLists<ParticleType>::writeReferredWallFaces() const
|
||||
{
|
||||
OFstream str(mesh_.time().path()/"referredWallFaces.obj");
|
||||
|
||||
Info<< " Writing " << str.name().name() << endl;
|
||||
|
||||
label offset = 1;
|
||||
|
||||
forAll(referredWallFaces_, rWFI)
|
||||
@ -938,7 +940,10 @@ Foam::InteractionLists<ParticleType>::InteractionLists
|
||||
|
||||
wallFaceMap().distribute(referredWallFaces_);
|
||||
|
||||
writeReferredWallFaces();
|
||||
if (writeCloud_)
|
||||
{
|
||||
writeReferredWallFaces();
|
||||
}
|
||||
|
||||
// Direct interaction list and direct wall faces
|
||||
|
||||
|
||||
Reference in New Issue
Block a user