mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: trim trailing space
This commit is contained in:
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
#. /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/etc/bashrc
|
cd "${0%/*}" || exit # Run from this directory
|
||||||
. $WM_PROJECT_DIR/etc/bashrc
|
#------------------------------------------------------------------------------
|
||||||
#cd /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/chtMultiRegionSimpleFoam
|
|
||||||
chtMultiRegionSimpleFoam -case ./fluid -world fluid 2>&1 | tee run_fluid.log
|
chtMultiRegionSimpleFoam -case fluid -world fluid 2>&1 | tee run_fluid.log
|
||||||
read dummy
|
read dummy
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
. $WM_PROJECT_DIR/etc/bashrc
|
cd "${0%/*}" || exit # Run from this directory
|
||||||
#. /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/etc/bashrc
|
#------------------------------------------------------------------------------
|
||||||
#cd /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/chtMultiRegionSimpleFoam
|
|
||||||
chtMultiRegionSimpleFoam -case ./solid -world solid 2>&1 | tee run_solid.log
|
chtMultiRegionSimpleFoam -case solid -world solid 2>&1 | tee run_solid.log
|
||||||
read dummy
|
read dummy
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -84,7 +84,7 @@ void Foam::mappedPatchFieldBase<Type>::storeField
|
|||||||
Pout<< "*** STORING :"
|
Pout<< "*** STORING :"
|
||||||
<< " field:" << fieldName
|
<< " field:" << fieldName
|
||||||
<< " values:" << flatOutput(subFld)
|
<< " values:" << flatOutput(subFld)
|
||||||
<< " as:" << subObr.objectPath() << endl;
|
<< " as:" << subObr.objectPath() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
mappedPatchBase::storeField
|
mappedPatchBase::storeField
|
||||||
@ -202,7 +202,7 @@ void Foam::mappedPatchFieldBase<Type>::initRetrieveField
|
|||||||
<< flatOutput(receiveFld)
|
<< flatOutput(receiveFld)
|
||||||
<< " from:" << flatOutput(fld)
|
<< " from:" << flatOutput(fld)
|
||||||
<< " constructMap:" << flatOutput(constructMap)
|
<< " constructMap:" << flatOutput(constructMap)
|
||||||
<< " as:" << subObr.objectPath() << endl;
|
<< " as:" << subObr.objectPath() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
mappedPatchBase::storeField
|
mappedPatchBase::storeField
|
||||||
|
|||||||
@ -32,13 +32,14 @@ Description
|
|||||||
area-weighted average.
|
area-weighted average.
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
\verbatim
|
||||||
{
|
{
|
||||||
field T; // default is same as fvPatchField
|
field T; // default is same as fvPatchField
|
||||||
setAverage false;
|
setAverage false;
|
||||||
average 1.0; // only if setAverage=true
|
average 1.0; // only if setAverage=true
|
||||||
interpolationScheme cellPoint; // default is cell
|
interpolationScheme cellPoint; // default is cell
|
||||||
}
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
\table
|
\table
|
||||||
Property | Description | Required | Default
|
Property | Description | Required | Default
|
||||||
@ -64,7 +65,7 @@ SourceFiles
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
// Forward declarations
|
// Forward Declarations
|
||||||
class mappedPatchBase;
|
class mappedPatchBase;
|
||||||
template<class> class interpolation;
|
template<class> class interpolation;
|
||||||
class mapDistribute;
|
class mapDistribute;
|
||||||
@ -203,7 +204,7 @@ public:
|
|||||||
|
|
||||||
//- Map optional weightField (given by name) onto *this patch
|
//- Map optional weightField (given by name) onto *this patch
|
||||||
virtual void mappedWeightField
|
virtual void mappedWeightField
|
||||||
(
|
(
|
||||||
const word& weightFieldName,
|
const word& weightFieldName,
|
||||||
tmp<scalarField>& thisWeights,
|
tmp<scalarField>& thisWeights,
|
||||||
tmp<scalarField>& nbrWeights
|
tmp<scalarField>& nbrWeights
|
||||||
|
|||||||
@ -203,7 +203,7 @@ void Foam::mappedPatchBase::collectSamples
|
|||||||
const pointField& facePoints,
|
const pointField& facePoints,
|
||||||
pointField& samples, // All samples
|
pointField& samples, // All samples
|
||||||
labelList& patchFaceWorlds, // Per sample: wanted world
|
labelList& patchFaceWorlds, // Per sample: wanted world
|
||||||
labelList& patchFaceProcs, // Per sample: originating processor
|
labelList& patchFaceProcs, // Per sample: originating processor
|
||||||
labelList& patchFaces, // Per sample: originating patchFace index
|
labelList& patchFaces, // Per sample: originating patchFace index
|
||||||
pointField& patchFc // Per sample: originating centre
|
pointField& patchFc // Per sample: originating centre
|
||||||
) const
|
) const
|
||||||
|
|||||||
@ -312,7 +312,7 @@ protected:
|
|||||||
// and project them onto the face-diagonal-decomposition triangles.
|
// and project them onto the face-diagonal-decomposition triangles.
|
||||||
tmp<pointField> facePoints(const polyPatch&) const;
|
tmp<pointField> facePoints(const polyPatch&) const;
|
||||||
|
|
||||||
//- Collect single list of samples and originating processor+face +
|
//- Collect single list of samples and originating processor+face +
|
||||||
// wanted world
|
// wanted world
|
||||||
void collectSamples
|
void collectSamples
|
||||||
(
|
(
|
||||||
|
|||||||
@ -92,10 +92,10 @@ $(NURBS)/NURBSbasis/NURBSbasis.C
|
|||||||
$(NURBS)/NURBS3DCurve/NURBS3DCurve.C
|
$(NURBS)/NURBS3DCurve/NURBS3DCurve.C
|
||||||
$(NURBS)/NURBS3DSurface/NURBS3DSurface.C
|
$(NURBS)/NURBS3DSurface/NURBS3DSurface.C
|
||||||
NURBS3D=$(NURBS)/NURBS3DVolume
|
NURBS3D=$(NURBS)/NURBS3DVolume
|
||||||
$(NURBS3D)/controlPointsDefinition/controlPointsDefinition/controlPointsDefinition.C
|
$(NURBS3D)/controlPointsDefinition/controlPointsDefinition/controlPointsDefinition.C
|
||||||
$(NURBS3D)/controlPointsDefinition/axisAligned/axisAligned.C
|
$(NURBS3D)/controlPointsDefinition/axisAligned/axisAligned.C
|
||||||
$(NURBS3D)/controlPointsDefinition/fromFile/fromFile.C
|
$(NURBS3D)/controlPointsDefinition/fromFile/fromFile.C
|
||||||
$(NURBS3D)/controlPointsDefinition/transformBox/transformBox.C
|
$(NURBS3D)/controlPointsDefinition/transformBox/transformBox.C
|
||||||
$(NURBS3D)/NURBS3DVolume/NURBS3DVolume.C
|
$(NURBS3D)/NURBS3DVolume/NURBS3DVolume.C
|
||||||
$(NURBS3D)/cartesian/NURBS3DVolumeCartesian.C
|
$(NURBS3D)/cartesian/NURBS3DVolumeCartesian.C
|
||||||
$(NURBS3D)/cylindrical/NURBS3DVolumeCylindrical.C
|
$(NURBS3D)/cylindrical/NURBS3DVolumeCylindrical.C
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: v2011 |
|
| \\ / O peration | Version: v2012 |
|
||||||
| \\ / A nd | Website: www.openfoam.com |
|
| \\ / A nd | Website: www.openfoam.com |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -53,7 +53,7 @@ functions
|
|||||||
fieldMinMax
|
fieldMinMax
|
||||||
{
|
{
|
||||||
type fieldMinMax;
|
type fieldMinMax;
|
||||||
functionObjectLibs (fieldFunctionObjects);
|
libs (fieldFunctionObjects);
|
||||||
fields ( U p T);
|
fields ( U p T);
|
||||||
mode magnitude;
|
mode magnitude;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
Reference in New Issue
Block a user