From b248dd283c259389c05dba0bec887cb201ba750c Mon Sep 17 00:00:00 2001 From: henry Date: Tue, 21 Jul 2009 22:26:01 +0100 Subject: [PATCH 1/9] Added kappa_ and E_. --- .../turbulence/PDRkEpsilon/PDRkEpsilon.C | 19 +++++++++++++++++++ .../turbulence/PDRkEpsilon/PDRkEpsilon.H | 4 ++++ 2 files changed, 23 insertions(+) diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C index 5adde282fa..74dc6d8952 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C +++ b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C @@ -110,6 +110,25 @@ PDRkEpsilon::PDRkEpsilon ) ), + kappa_ + ( + dimensioned::lookupOrAddToDict + ( + "kappa_", + coeffDict_, + 0.41 + ) + ), + E_ + ( + dimensioned::lookupOrAddToDict + ( + "E", + coeffDict_, + 9.8 + ) + ), + k_ ( IOobject diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H index 7a8f7ae54d..001c18e7e7 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H +++ b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H @@ -75,6 +75,9 @@ class PDRkEpsilon dimensionedScalar alphaEps_; dimensionedScalar alphah_; + dimensionedScalar kappa_; + dimensionedScalar E_; + volScalarField k_; volScalarField epsilon_; volScalarField mut_; @@ -85,6 +88,7 @@ public: //- Runtime type information TypeName("PDRkEpsilon"); + // Constructors //- Construct from components From f1fe6d5d7bcef0a4ef0306717d773279e649b708 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 22 Jul 2009 09:00:23 +0100 Subject: [PATCH 2/9] Removed unnecessary file, now handled by defaults in the models. --- etc/constant/RASProperties | 235 ------------------------------------- 1 file changed, 235 deletions(-) delete mode 100644 etc/constant/RASProperties diff --git a/etc/constant/RASProperties b/etc/constant/RASProperties deleted file mode 100644 index f0134fe4e6..0000000000 --- a/etc/constant/RASProperties +++ /dev/null @@ -1,235 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - note "default coefficients for RAS models"; - location "constant"; - object RASProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - - -wallFunctionCoeffs -{ - kappa 0.4187; - E 9; -} - - -kEpsilonCoeffs -{ - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; // only for compressible - alphak 1.0; // only for compressible - alphaEps 0.76923; - alphah 1.0; // only for compressible -} - - -RNGkEpsilonCoeffs -{ - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; // only for compressible - alphak 1.39; - alphaEps 1.39; - alphah 1.0; // only for compressible - eta0 4.38; - beta 0.012; -} - - -realizableKECoeffs -{ - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1.0; - alphaEps 0.833333; - alphah 1.0; // only for compressible -} - - -kOmegaSSTCoeffs -{ - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - alphah 1.0; // only for compressible - beta1 0.075; - beta2 0.0828; - betaStar 0.09; - gamma1 0.5532; - gamma2 0.4403; - a1 0.31; - c1 10.0; -} - - -LaunderGibsonRSTMCoeffs -{ - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1.0; // only for compressible - alphaEps 0.76923; - alphaR 1.22; - couplingFactor 0.0; -} - - -LaunderSharmaKECoeffs -{ - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1.0; // only for compressible - alphahk 1.0; // only for compressible - alphaEps 0.76923; -} - - -LRRCoeffs -{ - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1.0; // only for compressible - alphaEps 0.76923; - alphaR 1.22; // only for compressible - couplingFactor 0.0; // only for incompressible -} - - -SpalartAllmarasCoeffs -{ - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2.0; - Cv1 7.1; - Cv2 5.0; - alphaNut 1.5; - alphah 1.0; // only for compressible -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// incompressible only: - -kOmegaCoeffs -{ - betaStar 0.09; - alpha 0.52; - beta 0.072; - alphak 0.5; - alphaOmega 0.5; - Cmu $betaStar; // equivalent to betaStar -} - - -LamBremhorstKECoeffs -{ - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; -} - - -LienCubicKECoeffs -{ - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; -} - - -LienCubicKELowReCoeffs -{ - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; -} - - -LienLeschzinerLowReCoeffs -{ - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; -} - - -NonlinearKEShihCoeffs -{ - Cmu 0.09; // only for boundary conditions? - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; -} - -QZetaCoeffs -{ - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; - anisotropic false; -} - - -// ************************************************************************* // From e3710c2b66018d481e193e78024badc0b310a402 Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 22 Jul 2009 11:24:03 +0100 Subject: [PATCH 3/9] stabilise expansion calculation for if no point on arc --- applications/utilities/mesh/generation/blockMesh/setEdge.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/mesh/generation/blockMesh/setEdge.C b/applications/utilities/mesh/generation/blockMesh/setEdge.C index 92006a5f3e..bb8bd8c305 100644 --- a/applications/utilities/mesh/generation/blockMesh/setEdge.C +++ b/applications/utilities/mesh/generation/blockMesh/setEdge.C @@ -100,7 +100,7 @@ void blockDescriptor::setEdge(label edgeI, label start, label end, label dim) scalar gExp = calcGexp(expand_[edgeI], dim); // divide the line - lineDivide divEdge(curvedEdges_[nCEI], dim, 1.0/gExp); + lineDivide divEdge(curvedEdges_[nCEI], dim, 1.0/(gExp+SMALL)); pointField p = divEdge.points(); scalarList d = divEdge.lambdaDivisions(); From 2f3016173ec1dd64653dfba612040641d6410ec3 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 22 Jul 2009 14:08:02 +0100 Subject: [PATCH 4/9] Modified Description entries for documenting purposes --- applications/solvers/combustion/PDRFoam/PDRFoam.C | 4 ++-- applications/solvers/combustion/XiFoam/XiFoam.C | 4 ++-- .../combustion/dieselEngineFoam/dieselEngineFoam.C | 2 +- .../solvers/combustion/dieselFoam/dieselFoam.C | 2 +- .../solvers/combustion/reactingFoam/reactingFoam.C | 2 +- .../combustion/rhoReactingFoam/rhoReactingFoam.C | 3 ++- .../solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C | 3 ++- .../mdEquilibrationFoam/mdEquilibrationFoam.C | 2 +- .../discreteMethods/molecularDynamics/mdFoam/mdFoam.C | 2 +- .../heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C | 8 +++++--- .../incompressible/shallowWaterFoam/shallowWaterFoam.C | 1 + .../porousExplicitSourceReactingParcelFoam.C | 6 +++++- .../uncoupledKinematicParcelFoam.C | 8 +++++--- .../compressibleInterDyMFoam.C | 10 ++++++---- .../compressibleInterFoam/compressibleInterFoam.C | 3 ++- applications/solvers/multiphase/interFoam/interFoam.C | 3 ++- .../interPhaseChangeFoam/interPhaseChangeFoam.C | 6 ++++-- .../multiphaseInterFoam/multiphaseInterFoam.C | 2 +- .../preProcessing/changeDictionary/changeDictionary.C | 6 ++++-- 19 files changed, 48 insertions(+), 29 deletions(-) diff --git a/applications/solvers/combustion/PDRFoam/PDRFoam.C b/applications/solvers/combustion/PDRFoam/PDRFoam.C index 61171f27b3..6bad9d485c 100644 --- a/applications/solvers/combustion/PDRFoam/PDRFoam.C +++ b/applications/solvers/combustion/PDRFoam/PDRFoam.C @@ -26,8 +26,8 @@ Application PDRFoam Description - Compressible premixed/partially-premixed combustion solver with turbulence - modelling. + Solver for compressible premixed/partially-premixed combustion with + turbulence modelling. Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport diff --git a/applications/solvers/combustion/XiFoam/XiFoam.C b/applications/solvers/combustion/XiFoam/XiFoam.C index 6e804be977..15442ddb4f 100644 --- a/applications/solvers/combustion/XiFoam/XiFoam.C +++ b/applications/solvers/combustion/XiFoam/XiFoam.C @@ -26,8 +26,8 @@ Application XiFoam Description - Compressible premixed/partially-premixed combustion solver with turbulence - modelling. + Solver for compressible premixed/partially-premixed combustion with + turbulence modelling. Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport diff --git a/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C b/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C index 88b8f703d9..e3f9c0b118 100644 --- a/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C +++ b/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C @@ -26,7 +26,7 @@ Application dieselFoam Description - Diesel engine spray and combustion code. + Solver for diesel engine spray and combustion. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/combustion/dieselFoam/dieselFoam.C b/applications/solvers/combustion/dieselFoam/dieselFoam.C index d5eeefc98b..86460c1e9a 100644 --- a/applications/solvers/combustion/dieselFoam/dieselFoam.C +++ b/applications/solvers/combustion/dieselFoam/dieselFoam.C @@ -26,7 +26,7 @@ Application dieselFoam Description - Diesel spray and combustion code. + Solver for diesel spray and combustion. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/combustion/reactingFoam/reactingFoam.C b/applications/solvers/combustion/reactingFoam/reactingFoam.C index 35921313c3..f989c43d41 100644 --- a/applications/solvers/combustion/reactingFoam/reactingFoam.C +++ b/applications/solvers/combustion/reactingFoam/reactingFoam.C @@ -26,7 +26,7 @@ Application reactingFoam Description - Chemical reaction code. + Solver for combustion with chemical reactions. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C b/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C index 578d8c051c..777718b3ea 100644 --- a/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C +++ b/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C @@ -26,7 +26,8 @@ Application rhoReactingFoam Description - Chemical reaction code using density based thermodynamics package. + Solver for combustion with chemical reactions using density based + thermodynamics package. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C b/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C index 7a4d8ce8b9..84b499451f 100644 --- a/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C +++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C @@ -26,7 +26,8 @@ Application dsmcFoam Description - Direct Simulation Monte Carlo Solver for 3D, transient, multi-species flows + Direct simulation Monte Carlo (DSMC) solver for 3D, transient, multi- + species flows \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C index ea10d9129f..66619cfc67 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C +++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C @@ -26,7 +26,7 @@ Application mdEquilibrationFoam Description - Equilibrates and/or preconditions MD systems + Equilibrates and/or preconditions molecular dynamics systems \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C index 9fafafe1c9..4f2eea1ccc 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C +++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C @@ -26,7 +26,7 @@ Application mdFoam Description - molecular dynamics solver for fluid dynamics + Molecular dynamics solver for fluid dynamics \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C b/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C index fb6ad9571a..931616bf06 100644 --- a/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C +++ b/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C @@ -26,9 +26,11 @@ Application buoyantPisoFoam Description - Transient Solver for buoyant, turbulent flow of compressible fluids for - ventilation and heat-transfer. Turbulence is modelled using a run-time - selectable compressible RAS or LES model. + Transient solver for buoyant, turbulent flow of compressible fluids for + ventilation and heat-transfer. + + Turbulence is modelled using a run-time selectable compressible RAS or + LES model. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/incompressible/shallowWaterFoam/shallowWaterFoam.C b/applications/solvers/incompressible/shallowWaterFoam/shallowWaterFoam.C index 3fb6dee9fc..bd1989f433 100644 --- a/applications/solvers/incompressible/shallowWaterFoam/shallowWaterFoam.C +++ b/applications/solvers/incompressible/shallowWaterFoam/shallowWaterFoam.C @@ -27,6 +27,7 @@ Application Description Transient solver for inviscid shallow-water equations with rotation. + If the geometry is 3D then it is assumed to be one layers of cells and the component of the velocity normal to gravity is removed. diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/porousExplicitSourceReactingParcelFoam.C b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/porousExplicitSourceReactingParcelFoam.C index 5d3705430f..4242452440 100644 --- a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/porousExplicitSourceReactingParcelFoam.C +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/porousExplicitSourceReactingParcelFoam.C @@ -26,13 +26,17 @@ Application porousExplicitSourceReactingParcelFoam Description + Transient PISO solver for compressible, laminar or turbulent flow with + reacting Lagrangian parcels for porous media, including explicit sources + + The solver includes: - reacting parcel cloud - porous media - point mass sources - polynomial based, incompressible thermodynamics (f(T)) Note: ddtPhiCorr not used here when porous zones are active - - not well defined for porous calcs + - not well defined for porous calculations \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/uncoupledKinematicParcelFoam.C b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/uncoupledKinematicParcelFoam.C index 98ec825db4..625a306466 100644 --- a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/uncoupledKinematicParcelFoam.C +++ b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/uncoupledKinematicParcelFoam.C @@ -23,11 +23,13 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Application - kinematicParcelFoam + uncoupledKinematicParcelFoam Description - Transient solver for a single kinematicCloud. Uses pre-calculated velocity - field to evolve a cloud. + Transient solver for the passive transport of a single kinematic + particle could. + + Uses a pre- calculated velocity field to evolve the cloud. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/multiphase/compressibleInterDyMFoam/compressibleInterDyMFoam.C b/applications/solvers/multiphase/compressibleInterDyMFoam/compressibleInterDyMFoam.C index afe1114d22..9a802e0f69 100644 --- a/applications/solvers/multiphase/compressibleInterDyMFoam/compressibleInterDyMFoam.C +++ b/applications/solvers/multiphase/compressibleInterDyMFoam/compressibleInterDyMFoam.C @@ -27,11 +27,13 @@ Application Description Solver for 2 compressible, isothermal immiscible fluids using a VOF - (volume of fluid) phase-fraction based interface capturing approach. - The momentum and other fluid properties are of the "mixture" and a single - momentum equation is solved. + (volume of fluid) phase-fraction based interface capturing approach, + with optional mesh motion and mesh topology changes including adaptive + re-meshing. - Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. + The momentum and other fluid properties are of the "mixture" and a + single momentum equation is solved. Turbulence modelling is generic, + i.e. laminar, RAS or LES may be selected. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C index 1ab9361f0b..f352885294 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C @@ -28,10 +28,11 @@ Application Description Solver for 2 compressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach. + The momentum and other fluid properties are of the "mixture" and a single momentum equation is solved. - Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. + Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/multiphase/interFoam/interFoam.C b/applications/solvers/multiphase/interFoam/interFoam.C index c752b300e1..0b1fe938b9 100644 --- a/applications/solvers/multiphase/interFoam/interFoam.C +++ b/applications/solvers/multiphase/interFoam/interFoam.C @@ -28,10 +28,11 @@ Application Description Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach. + The momentum and other fluid properties are of the "mixture" and a single momentum equation is solved. - Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. + Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. For a two-fluid approach see twoPhaseEulerFoam. diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/interPhaseChangeFoam.C b/applications/solvers/multiphase/interPhaseChangeFoam/interPhaseChangeFoam.C index d08eec4159..b97e1d5725 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/interPhaseChangeFoam.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/interPhaseChangeFoam.C @@ -28,8 +28,10 @@ Application Description Solver for 2 incompressible, isothermal immiscible fluids with phase-change (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based - interface capturing approach. The momentum and other fluid properties are - of the "mixture" and a single momentum equation is solved. + interface capturing approach. + + The momentum and other fluid properties are of the "mixture" and a + single momentum equation is solved. The set of phase-change models provided are designed to simulate cavitation but other mechanisms of phase-change are supported within this solver diff --git a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseInterFoam.C b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseInterFoam.C index e2c9c643a6..95dd2659e4 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseInterFoam.C +++ b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseInterFoam.C @@ -27,7 +27,7 @@ Application Description Solver for n incompressible fluids which captures the interfaces and - includes surface-tension and contact-angle effects for each. + includes surface-tension and contact-angle effects for each phase. Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. diff --git a/applications/utilities/preProcessing/changeDictionary/changeDictionary.C b/applications/utilities/preProcessing/changeDictionary/changeDictionary.C index a813324bab..6ff9bbce18 100644 --- a/applications/utilities/preProcessing/changeDictionary/changeDictionary.C +++ b/applications/utilities/preProcessing/changeDictionary/changeDictionary.C @@ -26,8 +26,10 @@ Application changeDictionary Description - Simple dictionary changing tool. Can be used to e.g. change the patch - type. Reads dictionaries (fields) and entries to change from a dictionary. + Utility to change dictionary entries, e.g. can be used to change the patch + type in the field and polyMesh/boundary files. + + Reads dictionaries (fields) and entries to change from a dictionary. E.g. to make the @em movingWall a @em fixedValue for @em p, the @c system/changeDictionaryDict would contain the following: @verbatim From 1bfa91278184f4132972e8895994e1d329cb2c03 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 22 Jul 2009 15:51:53 +0100 Subject: [PATCH 5/9] Modified more Description entries in utilities for documenting purposes --- .../mesh/advanced/refineHexMesh/refineHexMesh.C | 2 +- .../mesh/advanced/refineWallLayer/refineWallLayer.C | 7 ++++--- .../utilities/mesh/advanced/splitCells/splitCells.C | 9 +++++---- .../utilities/mesh/conversion/mshToFoam/mshToFoam.C | 2 +- .../conversion/netgenNeutralToFoam/netgenNeutralToFoam.C | 2 +- .../mesh/conversion/polyDualMesh/polyDualMeshApp.C | 4 ++-- .../utilities/mesh/conversion/star4ToFoam/star4ToFoam.C | 2 +- .../mesh/conversion/tetgenToFoam/tetgenToFoam.C | 2 +- .../utilities/mesh/generation/extrudeMesh/extrudeMesh.C | 4 ++-- .../mesh/manipulation/createBaffles/createBaffles.C | 4 ++-- .../mesh/manipulation/flattenMesh/flattenMesh.C | 4 ++-- .../mesh/manipulation/insideCells/insideCells.C | 2 +- .../mergeOrSplitBaffles/mergeOrSplitBaffles.C | 2 +- .../utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C | 1 - .../utilities/mesh/manipulation/refineMesh/refineMesh.C | 7 ++++--- .../manipulation/splitMeshRegions/splitMeshRegions.C | 6 ++++-- .../mesh/manipulation/transformPoints/transformPoints.C | 5 ++++- .../reconstructParMesh/reconstructParMesh.C | 7 ++++--- .../redistributeMeshPar/redistributeMeshPar.C | 7 +++++-- .../postProcessing/dataConversion/foamToGMV/foamToGMV.C | 1 + .../graphics/fieldview9Reader/fieldview9Reader.C | 3 ++- .../postProcessing/miscellaneous/pdfPlot/pdfPlot.C | 3 ++- .../createTurbulenceFields/createTurbulenceFields.C | 3 ++- .../utilities/postProcessing/velocityField/Co/Co.C | 1 + .../postProcessing/velocityField/Lambda2/Lambda2.C | 1 + .../utilities/postProcessing/velocityField/Mach/Mach.C | 5 +++-- .../utilities/postProcessing/velocityField/Pe/Pe.C | 1 + .../utilities/postProcessing/velocityField/Q/Q.C | 1 + .../postProcessing/velocityField/enstrophy/enstrophy.C | 1 + .../postProcessing/velocityField/flowType/flowType.C | 1 + .../postProcessing/velocityField/uprime/uprime.C | 1 + .../postProcessing/velocityField/vorticity/vorticity.C | 1 + .../utilities/preProcessing/mdInitialise/mdInitialise.C | 3 +++ 33 files changed, 66 insertions(+), 39 deletions(-) diff --git a/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C b/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C index 77a09ff7b9..2b3d9ecc45 100644 --- a/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C +++ b/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C @@ -23,7 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Hex 2x2x2 refiner + Refines a hex mesh by 2x2x2 cell splitting. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C b/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C index a78dade6fd..4e48feeea5 100644 --- a/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C +++ b/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C @@ -23,9 +23,10 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Utility to refine cells next to patches. Takes a patchName - and number of layers to refine. Works out cells within these layers - and refines those in the wall-normal direction. + Utility to refine cells next to patches. + + Takes a patchName and number of layers to refine. Works out cells within + these layers and refines those in the wall-normal direction. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/mesh/advanced/splitCells/splitCells.C b/applications/utilities/mesh/advanced/splitCells/splitCells.C index 3aa649ee8b..85afb3a771 100644 --- a/applications/utilities/mesh/advanced/splitCells/splitCells.C +++ b/applications/utilities/mesh/advanced/splitCells/splitCells.C @@ -23,10 +23,11 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Utility to split cells with flat faces. Uses a geometric cut with a plane - dividing the edge angle into two so might produce funny cells. For hexes - it will use by default a cut from edge onto opposite edge (i.e. purely - topological). + Utility to split cells with flat faces. + + Uses a geometric cut with a plane dividing the edge angle into two so + might produce funny cells. For hexes it will use by default a cut from + edge onto opposite edge (i.e. purely topological). Options: - split cells from cellSet only diff --git a/applications/utilities/mesh/conversion/mshToFoam/mshToFoam.C b/applications/utilities/mesh/conversion/mshToFoam/mshToFoam.C index df438b3566..1d00c49393 100644 --- a/applications/utilities/mesh/conversion/mshToFoam/mshToFoam.C +++ b/applications/utilities/mesh/conversion/mshToFoam/mshToFoam.C @@ -23,7 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Reads .msh format generated by the Adventure system. + Converts .msh file generated by the Adventure system. Note: the .msh format does not contain any boundary information. It is purely a description of the internal mesh. diff --git a/applications/utilities/mesh/conversion/netgenNeutralToFoam/netgenNeutralToFoam.C b/applications/utilities/mesh/conversion/netgenNeutralToFoam/netgenNeutralToFoam.C index 6d41c037e6..41080fde78 100644 --- a/applications/utilities/mesh/conversion/netgenNeutralToFoam/netgenNeutralToFoam.C +++ b/applications/utilities/mesh/conversion/netgenNeutralToFoam/netgenNeutralToFoam.C @@ -23,7 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - read Neutral file format as written by Netgen4.4. + Converts neutral file format as written by Netgen v4.4. Example: diff --git a/applications/utilities/mesh/conversion/polyDualMesh/polyDualMeshApp.C b/applications/utilities/mesh/conversion/polyDualMesh/polyDualMeshApp.C index a410c1d892..2707469a6c 100644 --- a/applications/utilities/mesh/conversion/polyDualMesh/polyDualMeshApp.C +++ b/applications/utilities/mesh/conversion/polyDualMesh/polyDualMeshApp.C @@ -23,8 +23,8 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Calculate the dual of a polyMesh. Adheres to all the feature&patch edges. - + Calculate the dual of a polyMesh. Adheres to all the feature and patch + edges. Usage diff --git a/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam.C b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam.C index c4f8d6efc6..699ecaa49d 100644 --- a/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam.C +++ b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam.C @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) scaleFactor = 1; } } - + if (args.optionFound("solids")) { meshReaders::STARCD::keepSolids = true; diff --git a/applications/utilities/mesh/conversion/tetgenToFoam/tetgenToFoam.C b/applications/utilities/mesh/conversion/tetgenToFoam/tetgenToFoam.C index 9e9426d085..91b8d86595 100644 --- a/applications/utilities/mesh/conversion/tetgenToFoam/tetgenToFoam.C +++ b/applications/utilities/mesh/conversion/tetgenToFoam/tetgenToFoam.C @@ -23,7 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Reads .ele and .node and .face files as written by tetgen. + Converts .ele and .node and .face files, written by tetgen. Make sure to use add boundary attributes to the smesh file (5 fifth column in the element section) diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C index 7380562664..d149f85923 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C @@ -24,8 +24,8 @@ License Description Extrude mesh from existing patch (by default outwards facing normals; - optional flips faces) - or from patch read from file. + optional flips faces) or from patch read from file. + Note: Merges close points so be careful. Type of extrusion prescribed by run-time selectable model. diff --git a/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C b/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C index 88af3a1f29..4ce4d31291 100644 --- a/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C +++ b/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C @@ -23,8 +23,8 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Makes internal faces into boundary faces. Does not duplicate points. Use - mergeOrSplitBaffles if you want this. + Makes internal faces into boundary faces. Does not duplicate points, unlike + mergeOrSplitBaffles. Note: if any coupled patch face is selected for baffling automatically the opposite member is selected for baffling as well. Note that this diff --git a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C index 998929c3b0..69ba27f117 100644 --- a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C +++ b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C @@ -26,7 +26,7 @@ Application flattenMesh Description - Flatten the front and back planes of a 2D cartesian mesh. + Flattens the front and back planes of a 2D cartesian mesh. \*---------------------------------------------------------------------------*/ @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) } } - twoDCorr.correctPoints(points); + twoDCorr.correctPoints(points); // Set the precision of the points data to 10 IOstream::defaultPrecision(10); diff --git a/applications/utilities/mesh/manipulation/insideCells/insideCells.C b/applications/utilities/mesh/manipulation/insideCells/insideCells.C index e8052fb97f..7087e05062 100644 --- a/applications/utilities/mesh/manipulation/insideCells/insideCells.C +++ b/applications/utilities/mesh/manipulation/insideCells/insideCells.C @@ -23,7 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Pick up cells with cell centre 'inside' of surface. Requires surface + Picks up cells with cell centre 'inside' of surface. Requires surface to be closed and singly connected. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C index 9d82619414..e12ab576fd 100644 --- a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C +++ b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C @@ -26,7 +26,7 @@ Application mergeOrSplitBaffles Description - Detect faces that share points (baffles). Either merge them or + Detects faces that share points (baffles). Either merge them or duplicate the points. Notes: diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C index 098c63345e..a8b93b8d68 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C @@ -23,7 +23,6 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Mirrors a mesh around a given plane. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C b/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C index 5760d48aaf..e7beaf0082 100644 --- a/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C +++ b/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C @@ -23,9 +23,10 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Utility to refine cells in multiple directions. Either supply -all - option to refine all cells (3D refinement for 3D cases; 2D for 2D cases) - or reads a refineMeshDict with + Utility to refine cells in multiple directions. + + Either supply -all option to refine all cells (3D refinement for 3D + cases; 2D for 2D cases) or reads a refineMeshDict with - cellSet to refine - directions to refine diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index 72c1fbd350..1016794140 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C @@ -23,8 +23,10 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Splits mesh into multiple regions. Each region is defined as a domain - whose cells can all be reached by cell-face-cell walking without crossing + Splits mesh into multiple regions. + + Each region is defined as a domain whose cells can all be reached by + cell-face-cell walking without crossing - boundary faces - additional faces from faceset (-blockedFaces faceSet). - any face inbetween differing cellZones (-cellZones) diff --git a/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C b/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C index 630243e2ef..e77fbaf022 100644 --- a/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C +++ b/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C @@ -27,7 +27,10 @@ Application Description Transforms the mesh points in the polyMesh directory according to the - options: + translate, rotate and scale options. + +Usage + Options are: -translate vector Translates the points by the given vector, diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C index dc28db7097..d98d171e6b 100644 --- a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C +++ b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C @@ -26,9 +26,10 @@ Application reconstructParMesh Description - Reconstructs a mesh using geometric information only. Writes - point/face/cell procAddressing so afterwards reconstructPar can be used to - reconstruct fields. + Reconstructs a mesh using geometric information only. + + Writes point/face/cell procAddressing so afterwards reconstructPar can be + used to reconstruct fields. Note: - uses geometric matching tolerance (set with -mergeTol option) diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C b/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C index 40db19f4b3..cb0aa6469f 100644 --- a/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C +++ b/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C @@ -26,8 +26,11 @@ Application redistributeMeshPar Description - Parallel redecomposition of mesh. Start with maximum number of processors. - Balances mesh and writes new mesh to new timedirectory. + Redistributes existing decomposed mesh and fields according to the current + settings in the decomposeParDict file. + + Must be run on maximum number of source and destination processors. + Balances mesh and writes new mesh to new time directory. Can also work like decomposePar: diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/foamToGMV.C b/applications/utilities/postProcessing/dataConversion/foamToGMV/foamToGMV.C index 66d4b6e43e..05300da489 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToGMV/foamToGMV.C +++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/foamToGMV.C @@ -24,6 +24,7 @@ License Description Translates foam output to GMV readable files. + A free post-processor with available binaries from http://www-xdiv.lanl.gov/XCM/gmv/ diff --git a/applications/utilities/postProcessing/graphics/fieldview9Reader/fieldview9Reader.C b/applications/utilities/postProcessing/graphics/fieldview9Reader/fieldview9Reader.C index 11fd038f16..02853197f9 100644 --- a/applications/utilities/postProcessing/graphics/fieldview9Reader/fieldview9Reader.C +++ b/applications/utilities/postProcessing/graphics/fieldview9Reader/fieldview9Reader.C @@ -23,7 +23,8 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Reader module for Fieldview9 to read Foam mesh&data. + Reader module for Fieldview9 to read OpenFOAM mesh and data. + Creates new 'fvbin' type executable which needs to be installed in place of bin/fvbin. diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/pdfPlot.C b/applications/utilities/postProcessing/miscellaneous/pdfPlot/pdfPlot.C index df91f6a724..0bd05727d7 100644 --- a/applications/utilities/postProcessing/miscellaneous/pdfPlot/pdfPlot.C +++ b/applications/utilities/postProcessing/miscellaneous/pdfPlot/pdfPlot.C @@ -23,6 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description + Generates an .obj file to plot a probability distribution function \*---------------------------------------------------------------------------*/ @@ -48,7 +49,7 @@ int main(int argc, char *argv[]) ( pdf::New(pdfDictionary, rndGen) ); - + scalar xMin = p->minValue(); scalar xMax = p->maxValue(); diff --git a/applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C index c4a556f21f..02a8cbd3ab 100644 --- a/applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C +++ b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C @@ -26,7 +26,8 @@ Application CreateTurbulenceFields Description - Creates a full setturbulence fields. + Creates a full set of turbulence fields. + - Currently does not output nut and nuTilda Source files: diff --git a/applications/utilities/postProcessing/velocityField/Co/Co.C b/applications/utilities/postProcessing/velocityField/Co/Co.C index 2faa212583..2965d4727c 100644 --- a/applications/utilities/postProcessing/velocityField/Co/Co.C +++ b/applications/utilities/postProcessing/velocityField/Co/Co.C @@ -28,6 +28,7 @@ Application Description Calculates and writes the Co number as a surfaceScalarField obtained from field phi. + The -noWrite option just outputs the max values without writing the field. diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C b/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C index 0b64ebd163..d60f18fdaf 100644 --- a/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C +++ b/applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C @@ -29,6 +29,7 @@ Description Calculates and writes the second largest eigenvalue of the sum of the square of the symmetrical and anti-symmetrical parts of the velocity gradient tensor. + The -noWrite option has no meaning. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/postProcessing/velocityField/Mach/Mach.C b/applications/utilities/postProcessing/velocityField/Mach/Mach.C index cec41457f3..fc576cb704 100644 --- a/applications/utilities/postProcessing/velocityField/Mach/Mach.C +++ b/applications/utilities/postProcessing/velocityField/Mach/Mach.C @@ -27,8 +27,9 @@ Application Description Calculates and optionally writes the local Mach number from the velocity - field U at each time. The -nowrite option just outputs the max value - without writing the field. + field U at each time. + + The -nowrite option just outputs the max value without writing the field. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/postProcessing/velocityField/Pe/Pe.C b/applications/utilities/postProcessing/velocityField/Pe/Pe.C index 0af52d405a..27a4576b6f 100644 --- a/applications/utilities/postProcessing/velocityField/Pe/Pe.C +++ b/applications/utilities/postProcessing/velocityField/Pe/Pe.C @@ -28,6 +28,7 @@ Application Description Calculates and writes the Pe number as a surfaceScalarField obtained from field phi. + The -noWrite option just outputs the max/min values without writing the field. diff --git a/applications/utilities/postProcessing/velocityField/Q/Q.C b/applications/utilities/postProcessing/velocityField/Q/Q.C index 08c214a394..a5cb4ed5a5 100644 --- a/applications/utilities/postProcessing/velocityField/Q/Q.C +++ b/applications/utilities/postProcessing/velocityField/Q/Q.C @@ -27,6 +27,7 @@ Application Description Calculates and writes the second invariant of the velocity gradient tensor. + The -noWrite option just outputs the max/min values without writing the field. diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C b/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C index d510ee3849..69f280f7f5 100644 --- a/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C +++ b/applications/utilities/postProcessing/velocityField/enstrophy/enstrophy.C @@ -27,6 +27,7 @@ Application Description Calculates and writes the enstrophy of the velocity field U. + The -noWrite option just outputs the max/min values without writing the field. diff --git a/applications/utilities/postProcessing/velocityField/flowType/flowType.C b/applications/utilities/postProcessing/velocityField/flowType/flowType.C index 343ff0517d..96b5dc8da0 100644 --- a/applications/utilities/postProcessing/velocityField/flowType/flowType.C +++ b/applications/utilities/postProcessing/velocityField/flowType/flowType.C @@ -27,6 +27,7 @@ Application Description Calculates and writes the flowType of velocity field U. + The -noWrite option has no meaning. The flow type parameter is obtained according to the following equation: diff --git a/applications/utilities/postProcessing/velocityField/uprime/uprime.C b/applications/utilities/postProcessing/velocityField/uprime/uprime.C index 54012aef9a..c9811422a2 100644 --- a/applications/utilities/postProcessing/velocityField/uprime/uprime.C +++ b/applications/utilities/postProcessing/velocityField/uprime/uprime.C @@ -27,6 +27,7 @@ Application Description Calculates and writes the scalar field of uprime (sqrt(2/3 k)). + The -noWrite option just outputs the max/min values without writing the field. diff --git a/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C b/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C index e59384f3c0..6dee02c988 100644 --- a/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C +++ b/applications/utilities/postProcessing/velocityField/vorticity/vorticity.C @@ -27,6 +27,7 @@ Application Description Calculates and writes the vorticity of velocity field U. + The -noWrite option just outputs the max/min values without writing the field. diff --git a/applications/utilities/preProcessing/mdInitialise/mdInitialise.C b/applications/utilities/preProcessing/mdInitialise/mdInitialise.C index ecd0221957..131fecf0f4 100644 --- a/applications/utilities/preProcessing/mdInitialise/mdInitialise.C +++ b/applications/utilities/preProcessing/mdInitialise/mdInitialise.C @@ -22,6 +22,9 @@ License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +Description + Initialises fields for a molecular dynamics (MD) simulation + \*---------------------------------------------------------------------------*/ #include "md.H" From 4d5d919d37255d73dd0a7f4830475d9a14d94bd6 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 22 Jul 2009 16:06:54 +0100 Subject: [PATCH 6/9] Corrected incorrect spelling of utility name --- .../applyWallFunctionBounaryConditions/Make/files | 3 --- .../applyWallFunctionBoundaryConditions/Make/files | 3 +++ .../Make/options | 0 .../applyWallFunctionBoundaryConditions.C} | 0 .../utilities/preProcessing/mdInitialise/mdInitialise.C | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 applications/utilities/preProcessing/applyWallFunctionBounaryConditions/Make/files create mode 100644 applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/Make/files rename applications/utilities/preProcessing/{applyWallFunctionBounaryConditions => applyWallFunctionBoundaryConditions}/Make/options (100%) rename applications/utilities/preProcessing/{applyWallFunctionBounaryConditions/applyWallFunctionBounaryConditions.C => applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C} (100%) diff --git a/applications/utilities/preProcessing/applyWallFunctionBounaryConditions/Make/files b/applications/utilities/preProcessing/applyWallFunctionBounaryConditions/Make/files deleted file mode 100644 index 58f5dd3974..0000000000 --- a/applications/utilities/preProcessing/applyWallFunctionBounaryConditions/Make/files +++ /dev/null @@ -1,3 +0,0 @@ -applyWallFunctionBounaryConditions.C - -EXE = $(FOAM_APPBIN)/applyWallFunctionBounaryConditions diff --git a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/Make/files b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/Make/files new file mode 100644 index 0000000000..41d3c8b6a5 --- /dev/null +++ b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/Make/files @@ -0,0 +1,3 @@ +applyWallFunctionBoundaryConditions.C + +EXE = $(FOAM_APPBIN)/applyWallFunctionBoundaryConditions diff --git a/applications/utilities/preProcessing/applyWallFunctionBounaryConditions/Make/options b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/Make/options similarity index 100% rename from applications/utilities/preProcessing/applyWallFunctionBounaryConditions/Make/options rename to applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/Make/options diff --git a/applications/utilities/preProcessing/applyWallFunctionBounaryConditions/applyWallFunctionBounaryConditions.C b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C similarity index 100% rename from applications/utilities/preProcessing/applyWallFunctionBounaryConditions/applyWallFunctionBounaryConditions.C rename to applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C diff --git a/applications/utilities/preProcessing/mdInitialise/mdInitialise.C b/applications/utilities/preProcessing/mdInitialise/mdInitialise.C index 131fecf0f4..475aedb66b 100644 --- a/applications/utilities/preProcessing/mdInitialise/mdInitialise.C +++ b/applications/utilities/preProcessing/mdInitialise/mdInitialise.C @@ -23,7 +23,7 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Initialises fields for a molecular dynamics (MD) simulation + Initialises fields for a molecular dynamics (MD) simulation. \*---------------------------------------------------------------------------*/ From 150528e7bb6239b23a5c683c38ecacd2a005d7f9 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 22 Jul 2009 16:07:01 +0100 Subject: [PATCH 7/9] Corrected to use alphaEff for b and ft to ensure Lewis number of 1. --- .../pitzDaily3D/constant/polyMesh/boundary | 2 +- .../XiFoam/les/pitzDaily3D/system/fvSchemes | 6 +-- .../XiFoam/ras/moriyoshiHomogeneous/0/alphat | 47 +++++++++++++++++++ .../constant/polyMesh/boundary | 2 +- .../ras/moriyoshiHomogeneous/system/fvSchemes | 13 +++-- .../interDyMFoam/ras/damBreakWithObstacle/0/U | 2 +- .../ras/damBreakWithObstacle/0/alpha1 | 2 +- .../constant/polyMesh/boundary | 2 +- 8 files changed, 63 insertions(+), 13 deletions(-) create mode 100644 tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/alphat diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary index 19a09dd2c7..7a35f54079 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes index 2f2d8e9ebb..d4a2457583 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes @@ -34,11 +34,7 @@ divSchemes div(phiXi,Xi) Gauss limitedLinear01 0.1; div(phiXi,Su) Gauss limitedLinear01 0.1; div(phiSt,b) Gauss limitedLinear01 0.1; - div(phi,ft) Gauss limitedLinear01 0.1; - div(phi,b) Gauss limitedLinear01 0.1; - div(phi,h) Gauss limitedLinear 0.1; - div(phi,hu) Gauss limitedLinear 0.1; - div(phi,ft_b_h_hu)_0 Gauss multivariateSelection + div(phi,ft_b_h_hu) Gauss multivariateSelection { ft limitedLinear01 0.1; b limitedLinear01 0.1; diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/alphat b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/alphat new file mode 100644 index 0000000000..d1685619fa --- /dev/null +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/alphat @@ -0,0 +1,47 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object alphat; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + left + { + type symmetryPlane; + } + right + { + type symmetryPlane; + } + top + { + type symmetryPlane; + } + bottom + { + type symmetryPlane; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/polyMesh/boundary b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/polyMesh/boundary index 2c67db9e2b..23eb8107fb 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/polyMesh/boundary +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes index 94a4bd22bf..8be2133ac9 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes @@ -39,7 +39,14 @@ divSchemes div(phiXi,Xi) Gauss limitedLinear 1; div(phiXi,Su) Gauss limitedLinear 1; div(phiSt,b) Gauss limitedLinear01 1; - div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; }; + div(phi,ft_b_h_hu) Gauss multivariateSelection + { + fu limitedLinear01 1; + ft limitedLinear01 1; + b limitedLinear01 1; + h limitedLinear 1; + hu limitedLinear 1; + }; div(U) Gauss linear; div((Su*grad(b))) Gauss linear; div((U+((Su*Xi)*grad(b)))) Gauss linear; @@ -54,8 +61,8 @@ laplacianSchemes laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(muEff,b) Gauss linear corrected; - laplacian(muEff,ft) Gauss linear corrected; + laplacian(alphaEff,b) Gauss linear corrected; + laplacian(alphaEff,ft) Gauss linear corrected; laplacian(alphaEff,h) Gauss linear corrected; laplacian(alphaEff,hu) Gauss linear corrected; } diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/U b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/U index 6d3ce2531b..9af6b12da9 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/U +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/alpha1 b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/alpha1 index c6e0907e27..1b460494c0 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/alpha1 +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0/alpha1 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary index 8122fa3f3a..0c26ed3159 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ From 6a144cd7a6854a1fc20ff55a33dc494c5cdb8193 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 22 Jul 2009 16:10:24 +0100 Subject: [PATCH 8/9] Corrected more Descriptions --- .../applyWallFunctionBoundaryConditions.C | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C index b26c7154fc..dde4becd3f 100644 --- a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C +++ b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/applyWallFunctionBoundaryConditions.C @@ -27,6 +27,7 @@ Application Description Updates OpenFOAM RAS cases to use the new wall function framework + Attempts to determine whether case is compressible or incompressible, or can be supplied with -compressible command line argument From f910a4db73ec81887c960d71d56a0e072d94c73f Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 22 Jul 2009 17:44:01 +0100 Subject: [PATCH 9/9] Ignore ReleaseNotes-?.?.html etc. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index bcbd35cfdf..0639d63c1b 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,9 @@ doc/[Dd]oxygen/html doc/[Dd]oxygen/latex doc/[Dd]oxygen/man +# Other HTML files e.g. ReleaseNotes-?.?.html +*.html + # source packages - anywhere *.tar.bz2 *.tar.gz