mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev
This commit is contained in:
211
README
211
README
@ -1,109 +1,84 @@
|
|||||||
README for OpenFOAM: The Open Source CFD Toolbox
|
-*- mode: org; -*-
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
0. Copyright
|
#+TITLE: *OpenFOAM README for version 1.5*
|
||||||
~~~~~~~~~~~~
|
#+AUTHOR: OpenCFD Ltd.
|
||||||
OpenFOAM is free software; you can redistribute it and/or modify it under
|
#+DATE: 10 July 2008
|
||||||
the terms of the GNU General Public License as published by the Free
|
#+LINK: http://www.opencfd.co.uk
|
||||||
Software Foundation; either version 2 of the License, or (at your option)
|
|
||||||
any later version. See the file COPYING in this directory, for a
|
|
||||||
description of the GNU General Public License terms under which you can
|
|
||||||
copy the files.
|
|
||||||
|
|
||||||
|
* Copyright
|
||||||
|
OpenFOAM is free software; you can redistribute it and/or modify it under the
|
||||||
|
terms of the GNU General Public License as published by the Free Software
|
||||||
|
Foundation; either version 2 of the License, or (at your option) any later
|
||||||
|
version. See the file COPYING in this directory, for a description of the GNU
|
||||||
|
General Public License terms under which you can copy the files.
|
||||||
|
|
||||||
1. Contents
|
* System requirements
|
||||||
~~~~~~~~~~~
|
OpenFOAM is developed and tested on Linux, but should work with other Unix
|
||||||
0. Copyright
|
style systems. To check your system setup, execute the foamSystemCheck script
|
||||||
1. Contents
|
in the bin/ directory of the OpenFOAM installation. If no problems are
|
||||||
2. System requirements
|
reported, proceed to "3. Installation"; otherwise contact your system
|
||||||
3. Installation
|
administrator.
|
||||||
4. Building from Sources (Optional)
|
|
||||||
5. Testing the installation
|
|
||||||
6. Getting started
|
|
||||||
7. Documentation
|
|
||||||
8. Help
|
|
||||||
9. Reporting Bugs
|
|
||||||
A. Running OpenFOAM in 32-bit mode
|
|
||||||
|
|
||||||
|
If the user wishes to run OpenFOAM in 32/64-bit mode they should consult the
|
||||||
|
appendix "A. Running OpenFOAM in 32-bit mode".
|
||||||
|
|
||||||
2. System requirements
|
* Installation
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
Download and unpack the files in the $HOME/OpenFOAM directory as described in:
|
||||||
OpenFOAM is developed and tested on Linux, but should work with other
|
http://www.OpenFOAM.org/download.html
|
||||||
Unix style systems. To check your system setup, execute the foamSystemCheck
|
|
||||||
script in the bin/ directory of the OpenFOAM installation. If no problems
|
|
||||||
are reported, proceed to "3. Installation"; otherwise contact your
|
|
||||||
system administrator.
|
|
||||||
|
|
||||||
If the user wishes to run OpenFOAM in 32/64-bit mode they should consult
|
The environment variable settings are contained in files in an etc/ directory
|
||||||
the appendix "A. Running OpenFOAM in 32-bit mode".
|
in the OpenFOAM release. e.g. in
|
||||||
|
|
||||||
|
+ $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/
|
||||||
|
+ where <VERSION> corresponds to the version 1.4, 1.5, ...
|
||||||
|
|
||||||
3. Installation
|
1) EITHER, if running bash or ksh (if in doubt type 'echo $SHELL'), source the
|
||||||
~~~~~~~~~~~~~~~
|
etc/bashrc file by adding the following line to the end of your
|
||||||
Download and unpack the files in the $HOME/OpenFOAM directory as described
|
$HOME/.bashrc file:
|
||||||
in: http://www.OpenFOAM.org/download.html
|
|
||||||
|
|
||||||
The environment variable settings are contained in files in an etc/
|
+ . $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/bashrc
|
||||||
directory in the OpenFOAM release. e.g. in
|
|
||||||
|
|
||||||
$HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/
|
Then update the environment variables by sourcing the $HOME/.bashrc file by
|
||||||
|
typing in the terminal:
|
||||||
|
|
||||||
where <VERSION> corresponds to the version 1.4, 1.5, ...
|
+ . $HOME/.bashrc
|
||||||
|
|
||||||
a)
|
2) OR, if running tcsh or csh, source the etc/cshrc file by adding the
|
||||||
EITHER, if running bash or ksh (if in doubt type 'echo $SHELL'),
|
|
||||||
source the etc/bashrc file by adding the following line to the end
|
|
||||||
of your $HOME/.bashrc file:
|
|
||||||
|
|
||||||
. $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/bashrc
|
|
||||||
|
|
||||||
Then update the environment variables by sourcing the $HOME/.bashrc file
|
|
||||||
by typing in the terminal:
|
|
||||||
|
|
||||||
. $HOME/.bashrc
|
|
||||||
|
|
||||||
b)
|
|
||||||
OR, if running tcsh or csh, source the etc/cshrc file by adding the
|
|
||||||
following line to the end of your $HOME/.cshrc file:
|
following line to the end of your $HOME/.cshrc file:
|
||||||
|
|
||||||
source $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/cshrc
|
+ source $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/cshrc
|
||||||
|
|
||||||
Then update the environment variables by sourcing the $HOME/.cshrc file
|
Then update the environment variables by sourcing the $HOME/.cshrc file by
|
||||||
by typing in the terminal:
|
typing in the terminal:
|
||||||
|
|
||||||
source $HOME/.cshrc
|
+ source $HOME/.cshrc
|
||||||
|
|
||||||
|
*** Installation in alternative locations
|
||||||
3.1. Installation in alternative locations
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
OpenFOAM may also be installed in alternative locations. However, the
|
OpenFOAM may also be installed in alternative locations. However, the
|
||||||
installation directory should be network available (e.g., NFS) if
|
installation directory should be network available (e.g., NFS) if parallel
|
||||||
parallel calculations are planned.
|
calculations are planned.
|
||||||
|
|
||||||
The environment variable 'FOAM_INST_DIR' can be used to find and source
|
The environment variable 'FOAM_INST_DIR' can be used to find and source the
|
||||||
the appropriate resource file. Here is a bash/ksh/sh example:
|
appropriate resource file. Here is a bash/ksh/sh example:
|
||||||
|
|
||||||
export FOAM_INST_DIR=/data/app/OpenFOAM
|
+ export FOAM_INST_DIR=/data/app/OpenFOAM
|
||||||
foamDotFile=$FOAM_INST_DIR/OpenFOAM-<VERSION>/etc/bashrc
|
+ foamDotFile=$FOAM_INST_DIR/OpenFOAM-<VERSION>/etc/bashrc
|
||||||
[ -f $foamDotFile ] && . $foamDotFile
|
+ [ -f $foamDotFile ] && . $foamDotFile
|
||||||
|
|
||||||
and a csh/tcsh example:
|
and a csh/tcsh example:
|
||||||
|
|
||||||
setenv FOAM_INST_DIR /data/app/OpenFOAM
|
+ setenv FOAM_INST_DIR /data/app/OpenFOAM
|
||||||
foamDotFile=$FOAM_INST_DIR/OpenFOAM-<VERSION>/etc/bashrc
|
+ foamDotFile=$FOAM_INST_DIR/OpenFOAM-<VERSION>/etc/bashrc
|
||||||
if ( -f $foamDotFile ) source $foamDotFile
|
+ if ( -f $foamDotFile ) source $foamDotFile
|
||||||
|
|
||||||
|
The value set in '$FOAM_INST_DIR' will be used to locate the remaining parts
|
||||||
|
of the OpenFOAM installation.
|
||||||
|
|
||||||
The value set in '$FOAM_INST_DIR' will be used to locate the remaining
|
* Building from Sources (Optional)
|
||||||
parts of the OpenFOAM installation.
|
If you cannot find an appropriate binary pack for your platform, you can build
|
||||||
|
the complete OpenFOAM from the source-pack. You will first need to compile or
|
||||||
|
obtain a recent version of gcc (we recomend gcc-4.3.?) for your platform,
|
||||||
4. Building from Sources (Optional)
|
which may be obtained from http://gcc.gnu.org/.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
If you cannot find an appropriate binary pack for your platform, you can
|
|
||||||
build the complete OpenFOAM from the source-pack. You will first need to
|
|
||||||
compile or obtain a recent version of gcc (we recomend gcc-4.3.?) for
|
|
||||||
your platform, which may be obtained from http://gcc.gnu.org/.
|
|
||||||
|
|
||||||
Install the compiler in
|
Install the compiler in
|
||||||
$WM_PROJECT_INST_DIR/ThirdParty/gcc-<GCC_VERSION>/platforms/$WM_ARCH$WM_COMPILER_ARCH/
|
$WM_PROJECT_INST_DIR/ThirdParty/gcc-<GCC_VERSION>/platforms/$WM_ARCH$WM_COMPILER_ARCH/
|
||||||
@ -112,68 +87,54 @@
|
|||||||
environment variables as in section 3.
|
environment variables as in section 3.
|
||||||
|
|
||||||
Now go to the top-level source directory $WM_PROJECT_DIR and execute the
|
Now go to the top-level source directory $WM_PROJECT_DIR and execute the
|
||||||
top-level build script './Allwmake'. In principle this will build
|
top-level build script './Allwmake'. In principle this will build everything,
|
||||||
everything, but if problems occur with the build order it may be necessary
|
but if problems occur with the build order it may be necessary to update the
|
||||||
to update the environment variables and re-execute 'Allwmake'. If you
|
environment variables and re-execute 'Allwmake'. If you experience
|
||||||
experience difficulties with building the source-pack, or your platform is
|
difficulties with building the source-pack, or your platform is not currently
|
||||||
not currently supported, please contact <enquiries@OpenCFD.co.uk> to
|
supported, please contact <enquiries@OpenCFD.co.uk> to negotiate a support
|
||||||
negotiate a support contract and we will do the port and maintain it for
|
contract and we will do the port and maintain it for future releases.
|
||||||
future releases.
|
|
||||||
|
|
||||||
|
* Testing the installation
|
||||||
|
To check your installation setup, execute the 'foamInstallationTest' script
|
||||||
|
(in the bin/ directory of the OpenFOAM installation). If no problems are
|
||||||
|
reported, proceed to getting started with OpenFOAM; otherwise, go back and
|
||||||
|
check you have installed the software correctly and/or contact your system
|
||||||
|
administrator.
|
||||||
|
|
||||||
5. Testing the installation
|
* Getting Started
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
To check your installation setup, execute the 'foamInstallationTest'
|
|
||||||
script (in the bin/ directory of the OpenFOAM installation). If no
|
|
||||||
problems are reported, proceed to getting started with OpenFOAM;
|
|
||||||
otherwise, go back and check you have installed the software correctly
|
|
||||||
and/or contact your system administrator.
|
|
||||||
|
|
||||||
|
|
||||||
6. Getting Started
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
Create a project directory within the $HOME/OpenFOAM directory named
|
Create a project directory within the $HOME/OpenFOAM directory named
|
||||||
<USER>-<VERSION> (e.g. 'chris-1.5' for user chris and OpenFOAM version 1.5)
|
<USER>-<VERSION> (e.g. 'chris-1.5' for user chris and OpenFOAM version 1.5)
|
||||||
and create a directory named 'run' within it, e.g. by typing:
|
and create a directory named 'run' within it, e.g. by typing:
|
||||||
|
|
||||||
mkdir -p $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run
|
+ mkdir -p $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run
|
||||||
|
|
||||||
Copy the 'tutorial' examples directory in the OpenFOAM distribution to the
|
Copy the 'tutorial' examples directory in the OpenFOAM distribution to the
|
||||||
'run' directory. If the OpenFOAM environment variables are set correctly,
|
'run' directory. If the OpenFOAM environment variables are set correctly,
|
||||||
then the following command will be correct:
|
then the following command will be correct:
|
||||||
|
|
||||||
cp -r $WM_PROJECT_DIR/tutorials $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run
|
+ cp -r $WM_PROJECT_DIR/tutorials
|
||||||
|
$HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run
|
||||||
|
|
||||||
Run the first example case of incompressible laminar flow in a cavity:
|
Run the first example case of incompressible laminar flow in a cavity:
|
||||||
|
|
||||||
cd $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run/tutorials/icoFoam/cavity
|
+ cd $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run/tutorials/icoFoam/cavity
|
||||||
blockMesh
|
+ blockMesh
|
||||||
icoFoam
|
+ icoFoam
|
||||||
|
|
||||||
|
* Documentation
|
||||||
7. Documentation
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
http://www.OpenFOAM.org/doc
|
http://www.OpenFOAM.org/doc
|
||||||
|
|
||||||
|
* Help
|
||||||
|
http://www.OpenFOAM.org http://www.OpenFOAM.org/discussion.html
|
||||||
|
|
||||||
8. Help
|
* Reporting Bugs in OpenFOAM
|
||||||
~~~~~~~
|
|
||||||
http://www.OpenFOAM.org
|
|
||||||
http://www.OpenFOAM.org/discussion.html
|
|
||||||
|
|
||||||
|
|
||||||
9. Reporting Bugs in OpenFOAM
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
http://www.OpenFOAM.org/bugs.html
|
http://www.OpenFOAM.org/bugs.html
|
||||||
|
|
||||||
|
* Running OpenFOAM in 32-bit mode on 64-bit machines
|
||||||
A. Running OpenFOAM in 32-bit mode on 64-bit machines
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
Linux users with a 64-bit machine may install either the OpenFOAM 32-bit
|
Linux users with a 64-bit machine may install either the OpenFOAM 32-bit
|
||||||
version (linux) or the OpenFOAM 64-bit version (linux64), or both.
|
version (linux) or the OpenFOAM 64-bit version (linux64), or both. The 64-bit
|
||||||
The 64-bit is the default mode on a 64-bit machine. To use an installed
|
is the default mode on a 64-bit machine. To use an installed 32-bit version,
|
||||||
32-bit version, the user must set the environment variable $WM_32 (to
|
the user must set the environment variable $WM_32 (to anything, e.g. "on")
|
||||||
anything, e.g. "on") before sourcing the etc/bashrc (or etc/cshrc) file.
|
before sourcing the etc/bashrc (or etc/cshrc) file. Unsetting WM_32 and
|
||||||
Unsetting WM_32 and re-sourcing the etc/bashrc (or etc/cshrc) file will
|
re-sourcing the etc/bashrc (or etc/cshrc) file will set up the user to run in
|
||||||
set up the user to run in 64-bit mode.
|
64-bit mode.
|
||||||
|
|
||||||
|
|||||||
174
ReleaseNotes-1.5
Normal file
174
ReleaseNotes-1.5
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
-*- mode: org; -*-
|
||||||
|
|
||||||
|
#+TITLE: *OpenFOAM release notes for version 1.5*
|
||||||
|
#+AUTHOR: OpenCFD Ltd.
|
||||||
|
#+DATE: 10 July 2008
|
||||||
|
#+LINK: http://www.opencfd.co.uk
|
||||||
|
|
||||||
|
* Overview
|
||||||
|
OpenFOAM-1.5 is is a significant upgrade to version 1.4 in ways which are
|
||||||
|
outlined below. This release passes all our standard tests and the tutorials
|
||||||
|
have been broadly checked. If there are any bugs, please report them using
|
||||||
|
the instructions set out in: http://www.openfoam.org/bugs.html.
|
||||||
|
|
||||||
|
Most of the developments for this release are in: new applications, e.g. for
|
||||||
|
multiphase flow and cavitation, buoyancy-flow and heat transfer, high speed
|
||||||
|
flows and even molecular dynamics; new utilities, e.g. for meshing and case
|
||||||
|
monitoring; and, new modelling, e.g. in Lagrangian particle tracking,
|
||||||
|
radiation and rotating frames of reference. With these new applications come
|
||||||
|
numerous new example cases.
|
||||||
|
|
||||||
|
* GNU/Linux version
|
||||||
|
The 64bit binary packs of the OpenFOAM release were compiled on a machine
|
||||||
|
running SuSE GNU/Linux version 10.2 and the 32bit on a machine running Ubuntu
|
||||||
|
GNU/Linux version 7.1. The release has also been tested on SuSE 10.0, 10.3
|
||||||
|
and Ubuntu 8.04. We recommend that users run OpenFOAM on one of these or a
|
||||||
|
similar recent version of GNU/Linux.
|
||||||
|
|
||||||
|
* C++ Compiler version
|
||||||
|
+ Released compiled with GCC 4.3.1, the latest version.
|
||||||
|
+ Built in support for the Intel C++ 10.? compiler (untested).
|
||||||
|
+ The choice of the compiler is controlled by the setting of the $WM_COMPILER
|
||||||
|
and $WM_COMPILER_ARCH environment variables in the OpenFOAM-1.5/etc/bashrc
|
||||||
|
(or cshrc) file.
|
||||||
|
+ The location of the installation of the compiler is controlled by the
|
||||||
|
$WM_COMPILER_INST environment variable in the OpenFOAM-1.5/etc/settings.sh
|
||||||
|
(or settings.csh) file.
|
||||||
|
|
||||||
|
* Developments to solvers (applications)
|
||||||
|
+ New rhoCentralFoam solver for high-speed, viscous, compressible flows using
|
||||||
|
non-oscillatory, central-upwind schemes.
|
||||||
|
+ New interDyMFoam solver for 2 incompressible, isothermal, immiscible fluids
|
||||||
|
using a VoF phase-fraction based interface capturing approach, with optional
|
||||||
|
mesh motion and mesh topology changes including adaptive mesh
|
||||||
|
(un)refinement. Useful for simulations such as tank filling, sloshing ---
|
||||||
|
using solid body motion e.g. SDA or SKA (6DoF) --- and slamming (using the
|
||||||
|
mesh motion solver) and other large-scale applications that benefit from the
|
||||||
|
efficiency gain of adaptive mesh (un)refinement of the interface.
|
||||||
|
+ New compressibleInterFoam solver for 2 compressible, isothermal, immiscible
|
||||||
|
fluids using a volume of fluid (VoF) phase-fraction approach for
|
||||||
|
interface-capturing. The momentum and other fluid properties are of the
|
||||||
|
"mixture" and a single momentum equation is solved. Turbulence is modelled
|
||||||
|
using a run-time selectable incompressible LES model.
|
||||||
|
+ New interPhaseChangeFoam solver for 2 incompressible, isothermal, immiscible
|
||||||
|
fluids with phase-change, e.g. cavitation. Uses VoF interface capturing,
|
||||||
|
with momentum and other fluid properties described for 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 framework.
|
||||||
|
+ New rasCavitatingFoam solver for transient cavitation using a barotropic
|
||||||
|
compressibility model, with RAS turbulence.
|
||||||
|
+ New lesCavitatingFoam solver for transient cavitation using a barotropic
|
||||||
|
compressibility model, with LES turbulence.
|
||||||
|
+ New chtMultiRegionFoam solver that couples conjugate heat transfer in a
|
||||||
|
solid to a buoyancy-driven flow simulation.
|
||||||
|
+ New PDRFoam solver for compressible premixed/partially-premixed turbulent
|
||||||
|
combustion that includes porosity/distributed resistance (PDR) modelling to
|
||||||
|
handle regions containing solid blockages which cannot be resolved by the
|
||||||
|
mesh. Requires the PDR fields.
|
||||||
|
+ New lesBuoyantFoam solver for transient, buoyant, turbulent flow of
|
||||||
|
compressible fluids for ventilation and heat-transfer. Turbulence is
|
||||||
|
modelled using a run-time selectable compressible LES model.
|
||||||
|
+ New rhoPimpleFoam solver for transient, turbulent flow of compressible
|
||||||
|
fluids for ventilation and heat-transfer. Uses the flexible PIMPLE
|
||||||
|
(PISO-SIMPLE) solution for time-resolved and pseudo-transient simulations.
|
||||||
|
+ New buoyantSimpleRadiationFoam solver for steady-state, buoyant, turbulent
|
||||||
|
flow of compressible fluids with radiation, for ventilation and
|
||||||
|
heat-transfer.
|
||||||
|
+ New rhoTurbTwinParcelFoam solver for transient for compressible, turbulent
|
||||||
|
flow with two thermo-clouds.
|
||||||
|
+ New gnemdFOAM solver for general purpose molecular dynamics that simulates
|
||||||
|
atoms in arbitrary shaped domains and average atomic/molecular quantities to
|
||||||
|
the mesh to create field data.
|
||||||
|
+ New mdEqulibrationFoam solver to equilibrates and/or preconditions molecular
|
||||||
|
dynamics systems.
|
||||||
|
+ Demonstration SRFSimpleFoam solver based on simpleFoam that incorporates the
|
||||||
|
SRF extensions (see below) for rotating flows.
|
||||||
|
|
||||||
|
* Automatic mesher
|
||||||
|
New snappyHexMesh utility that generates split-hex meshes automatically from
|
||||||
|
triangulated (STL) surface geometries. The mesh approximately conforms to
|
||||||
|
the surface by iteratively refining a starting mesh and morphing the
|
||||||
|
resulting split-hex mesh to the surface. An optional phase will shrink back
|
||||||
|
the resulting mesh and insert cell layers. It has a flexible specification
|
||||||
|
of mesh refinement level and robust surface handling with a pre-specified
|
||||||
|
final mesh quality. It runs in parallel with a load balancing step every
|
||||||
|
iteration.
|
||||||
|
|
||||||
|
* Developments to utilities
|
||||||
|
+ New extrude2DMesh utility that extrudes 2D meshes into a 3D mesh. 2D meshes
|
||||||
|
are described by faces with 2 points, so can be used in combination with 2D
|
||||||
|
meshes converted with ccm26ToFoam.
|
||||||
|
+ New couplePatches functionality integrated into createPatch, which
|
||||||
|
optionally synchronises ("couples") points and faces of coupled (cyclic,
|
||||||
|
processor) patches.
|
||||||
|
+ New applyBoundaryLayer pre-processing utility to apply 1/7th power-law
|
||||||
|
boundary layers at walls, starting from uniform or potential flow solutions.
|
||||||
|
+ New execFlowFunctionObjects utility executes functionObjects as a
|
||||||
|
post-processing activity, e.g. probes, sampling, force calculation.
|
||||||
|
+ New changeDictionary utility makes batch changes to OpenFOAM input files,
|
||||||
|
e.g. to change boundary conditions of field files.
|
||||||
|
+ New foamCalc utility, a generic post-processing field calculator tool
|
||||||
|
+ New molConfig pre-processing utility for molecular dynamics cases. Fills
|
||||||
|
zones of a mesh with single crystal lattices of specified structure,
|
||||||
|
density, orientation, alignment and temperature.
|
||||||
|
+ Extended splitMeshRegions utility to split multi-zone meshes, e.g. defined
|
||||||
|
through cellZones, into separate meshes.
|
||||||
|
+ Extended the foamToVTK, decomposePar, reconstructPar and mapFields utilities
|
||||||
|
to include support for multiple particle clouds in parallel processing.
|
||||||
|
|
||||||
|
* Migration from ParaView 2.4 to ParaView 3.x
|
||||||
|
+ Rewritten OpenFOAM Reader Module for version 3, a major redesign of
|
||||||
|
ParaView.
|
||||||
|
+ New features include viewing patch names, reading of Lagrangian data,
|
||||||
|
handling of cell, face and point sets, multiple views.
|
||||||
|
|
||||||
|
* Model development
|
||||||
|
+ Overhauled the lagrangian library to support multiple clouds.
|
||||||
|
+ New lagrangianIntermediate library incorporating a hierarchy of parcel and
|
||||||
|
cloud types, accommodating kinematic, thermodynamic and reacting
|
||||||
|
applications, including coupling to the new radiation library. Sub-models
|
||||||
|
are added at the relevant level of physics, e.g.:
|
||||||
|
- kinematic: injection, wall interaction, drag, dispersion;
|
||||||
|
- thermo: heat transfer;
|
||||||
|
- reacting: reacting composition, mass transfer, surface reactions.
|
||||||
|
+ New single rotating frame of reference (SRF) library for rotating flow
|
||||||
|
applications, e.g. turbo-machinery.
|
||||||
|
+ New radiation library including the P1 model and associated Marshak boundary
|
||||||
|
conditions for incident radiation.
|
||||||
|
+ New displacementInterpolation motion solver for flexible mesh scaling.
|
||||||
|
+ New molecularDynamics Lagrangian library to calculate intermolecular forces
|
||||||
|
between spherically symmetrical monatomic species in arbitrary geometries.
|
||||||
|
|
||||||
|
* New functionObjects
|
||||||
|
To aid common monitoring and post-processing activities.
|
||||||
|
+ forces: calculate the force and moment on a patch or set of patches, e.g. to
|
||||||
|
calculate the lift, drag and moment of an object in the flow.
|
||||||
|
+ forceCoeffs: calculate the normalised force and moment on a patch or set of
|
||||||
|
patches, e.g. to calculate the lift, drag and moment coefficients of an
|
||||||
|
object in the flow.
|
||||||
|
+ fieldAverage: calculate field arithmetic mean and prime-squared averages for
|
||||||
|
a list of fields.
|
||||||
|
+ foamCalcFunctions: calculate field components, div, mag, magGrad or magSqr.
|
||||||
|
|
||||||
|
* Improvements to boundary conditions
|
||||||
|
+ Generalised jumpCyclic type: cyclic condition with an additional prescribed
|
||||||
|
jump in value.
|
||||||
|
+ fan type: specialisation of jumpCyclic, applying a prescribed jump in
|
||||||
|
pressure to simulate a fan within a mesh.
|
||||||
|
+ Generalised advective outflow boundary condition based on solving D/Dt(psi,
|
||||||
|
U) = 0 at the boundary.
|
||||||
|
+ Additional turbulent flow inlet to specify mixing length and frequency.
|
||||||
|
+ Generalisation of time varying set of boundary conditions.
|
||||||
|
|
||||||
|
* Other
|
||||||
|
+ New argument-free command execution, e.g typing "icoFoam" without root and
|
||||||
|
case directory arguments.
|
||||||
|
+ Extended time command line options.
|
||||||
|
+ Many enhancements to dictionary including macro substitution, optional
|
||||||
|
merging and default/overwrite behaviour, enhanced "#include" file handling
|
||||||
|
and the framework to support function evaluation.
|
||||||
|
+ Cross-links between applications and Doxygen documentation with the "-doc"
|
||||||
|
argument.
|
||||||
|
+ Non-blocking, non-buffered, parallel transfers with potential scaling
|
||||||
|
benefits for larger number of processors.
|
||||||
@ -28,7 +28,7 @@
|
|||||||
),
|
),
|
||||||
// Divergence term is handled explicitly to be
|
// Divergence term is handled explicitly to be
|
||||||
// consistent with the explicit transport solution
|
// consistent with the explicit transport solution
|
||||||
divU*min(alpha1, 1.0)
|
divU*min(alpha1, scalar(1))
|
||||||
);
|
);
|
||||||
|
|
||||||
forAll(dgdt, celli)
|
forAll(dgdt, celli)
|
||||||
|
|||||||
@ -140,7 +140,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
volScalarField dgdt =
|
volScalarField dgdt =
|
||||||
pos(alpha2)*fvc::div(phi)/max(alpha2, 0.0001);
|
pos(alpha2)*fvc::div(phi)/max(alpha2, scalar(0.0001));
|
||||||
|
|
||||||
// Construct interface from alpha1 distribution
|
// Construct interface from alpha1 distribution
|
||||||
interfaceProperties interface(alpha1, U, twoPhaseProperties);
|
interfaceProperties interface(alpha1, U, twoPhaseProperties);
|
||||||
|
|||||||
@ -40,7 +40,10 @@
|
|||||||
|
|
||||||
solve
|
solve
|
||||||
(
|
(
|
||||||
(max(alpha1, 0.0)*(psi1/rho1) + max(alpha2, 0.0)*(psi2/rho2))
|
(
|
||||||
|
max(alpha1, scalar(0))*(psi1/rho1)
|
||||||
|
+ max(alpha2, scalar(0))*(psi2/rho2)
|
||||||
|
)
|
||||||
*pdEqnComp()
|
*pdEqnComp()
|
||||||
+ pdEqnIncomp
|
+ pdEqnIncomp
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user