graham
361370a564
deltaT().value() to deltaTValue()
2009-10-21 16:43:45 +01:00
graham
1f317a6f43
Merge branch 'master' into cvm
2009-10-21 14:44:13 +01:00
henry
d6a278f2b2
Introduced the new file unitConversion.H to hold degToRad, radToDeg
...
and other unit conversion functions as they are required e.g. slug <-> kg.
2009-10-21 10:55:00 +01:00
mattijs
10dd3ea2a4
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-10-20 22:15:23 +01:00
mattijs
32e2edb94b
degrees to radians conversion
2009-10-20 22:15:18 +01:00
graham
e926815739
Added calcTetMesh function to write the Delaunay tet mesh out as a
...
proper polyMesh. This is in preparation for using the tet mesh for
post-processing.
Note that calcTetMesh must be called before calcDualMesh, as the later
destroys the indexing of the vertices. Call commented out for now.
Also: Changed all facei celli to faceI cellI.
2009-10-20 20:12:02 +01:00
graham
aa94ddf384
Changing boost thread library name, boost 1.40
2009-10-20 11:00:52 +01:00
graham
93a97bc0e5
Merge branch 'master' into cvm
2009-10-19 18:28:21 +01:00
Mark Olesen
ffc9d0d97b
find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()
...
- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
It looks suspicious, but the change was recent, so maybe it means something
2009-10-19 13:53:25 +02:00
mattijs
61ad54ec03
skip group type 7 (nodes) as output by salome
2009-10-18 21:14:15 +01:00
andy
a8f7488e0f
Merge branch 'olesenm'
2009-10-13 12:39:35 +01:00
henry
e9da288118
Reverted the Americanism "math" back to the original "mathematical" and reverted name of
...
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
Mark Olesen
84be998ebc
Merge commit 'OpenCFD/master' into olesenm
2009-10-08 12:07:04 +02:00
Mark Olesen
5e852915f5
Merge commit 'bundle/home' into olesenm
...
Conflicts:
src/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
src/mesh/blockMesh/blockMesh/blockMeshMerge.C
src/postProcessing/functionObjects/field/streamLine/streamLineParticle.H
2009-10-08 12:03:35 +02:00
Mark Olesen
2dcd867f47
blockMesh improvements
...
- expose point field throughout
- make output less verbose, but can switch on/off with verbose() static method
2009-10-05 22:53:22 +02:00
mattijs
f6ec4dee46
added -constant
2009-10-01 19:34:53 +01:00
graham
e290da6074
Merge branch 'master' into cvm
2009-09-30 18:29:16 +01:00
mattijs
1ea20c864e
overwrite to write to original instance
2009-09-30 15:23:57 +01:00
mattijs
6b439e6392
fix writing to 0/ instead of constant
2009-09-29 20:28:48 +01:00
mattijs
7e985f898e
added remove command
2009-09-24 23:48:19 +01:00
mattijs
fad330d3f2
added zoneSets
2009-09-24 18:51:17 +01:00
mattijs
72cacc9588
added zoneSets
2009-09-24 18:39:04 +01:00
Mark Olesen
ad5d10b817
Merge commit 'OpenCFD/master' into olesenm
2009-09-23 09:14:28 +02:00
mattijs
1c8ad89145
added cellZonesOnly option which does not use walk
2009-09-22 15:26:40 +01:00
mattijs
da8198a487
added region option
2009-09-22 15:26:19 +01:00
mattijs
1bdfa97fc7
adapted extrudeProperties for new extrusion model
2009-09-22 15:25:53 +01:00
mattijs
859d727696
added patch non-manifold edge dumping
2009-09-22 15:25:16 +01:00
Mark Olesen
9dea06e9d8
Merge commit 'OpenCFD/master' into olesenm
2009-09-22 09:33:23 +02:00
Mark Olesen
d37378acf4
relocate autoMesh -> mesh/autoMesh
2009-09-21 18:20:03 +02:00
Mark Olesen
0e5899b841
relocate autoMesh -> mesh/autoMesh
2009-09-21 13:07:40 +02:00
graham
52468771d5
Merging master, fixing wmake/rules conflict.
2009-09-21 11:21:06 +01:00
mattijs
af62832bff
master instead of masterNo
2009-09-21 10:58:51 +01:00
Mark Olesen
897baf81c0
blockMesh: most mesh data are now demand-driven
...
- Unless the points(), cells(), patches() methods are called, the classes
should know maintain a lightweight representation for as long as possible.
- bugfix: old-code used xferMove() instead of xferCopy() when creating the
topology mesh - causing const pointField& to break if the code order was
changed
- relocate blockMesh from src/meshing -> src/mesh
2009-09-17 23:45:52 +02:00
mattijs
8977f1f05f
specified direction extrusion mode
2009-09-17 08:28:10 +01:00
Mark Olesen
dd093e0a37
blockMesh: rationalize file names/contents
2009-09-16 20:22:56 +02:00
Mark Olesen
6fc500d68d
blockMesh: move classes into separate library
2009-09-16 19:46:58 +02:00
mattijs
791b5aaeaa
replacing isType with isA to enable directMappedWall to work
2009-09-15 17:51:59 +01:00
graham
8e9d110a61
Merge branch 'master' into cvm
2009-09-15 15:19:29 +01:00
graham
325e9e0ab0
Merge branch 'master' into cvm
2009-09-15 15:17:08 +01:00
mattijs
2cee56ee01
extra printing
2009-09-15 15:02:41 +01:00
mattijs
40dd870588
sample gmsh files
2009-09-11 16:19:49 +01:00
mattijs
9bec0a6715
added some checking
2009-09-11 10:21:16 +01:00
mattijs
10ae335e08
added warning message - coupled bcs not handled
2009-09-10 12:43:51 +01:00
mattijs
21ba33aad1
added region option
2009-09-08 17:37:56 +01:00
mattijs
c01cfedba8
added some comment
2009-09-04 12:44:45 +01:00
mattijs
1198d3e0ad
added region option
2009-09-04 12:25:28 +01:00
mattijs
e94d59d88e
check on existence of faceZone
2009-09-03 08:56:07 +01:00
mattijs
4594d03b32
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-09-02 14:51:49 +01:00
mattijs
6dc2e62946
do not map demand driven geometric data
2009-09-02 14:51:42 +01:00
andy
8dcea0f8cd
using new constant definitions
2009-08-28 18:04:22 +01:00
mattijs
2625d8910d
extrudeMesh does extrusion from existing mesh
2009-08-21 17:36:42 +01:00
mattijs
65e925f1fe
extrudeMesh does extrusion from existing mesh
2009-08-21 17:36:27 +01:00
graham
2fca5550cd
Merge branch 'master' into cvm
2009-08-19 18:40:21 +01:00
mattijs
61b29463d1
renamed patches to patchInfo
2009-08-19 15:19:02 +01:00
mattijs
4575c3328b
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-08-18 22:12:22 +01:00
mattijs
ddfe6c39e9
user overrideable tolerances
2009-08-18 22:12:06 +01:00
henry
a7e4cdea99
Removed tabs.
2009-08-18 08:27:08 +01:00
mattijs
42001c007a
extraneous printing
2009-08-17 17:05:57 +01:00
graham
b31dc84dba
Merge branch 'master' into cvm
2009-08-11 11:21:23 +01:00
mattijs
5ac6840d06
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-08-07 11:28:12 +01:00
mattijs
dc999ad07e
fvMesh xfer constructor change
2009-08-07 11:27:48 +01:00
henry
31c76da40f
Changed the runtime-selection tables to output a sorted toc.
2009-08-06 18:01:28 +01:00
graham
5c28dd80cd
Added control for surface conformation rebuild frequency.
...
Adding execution time to application.
Adding boolean control for timeChecks, setting to off.
Added determination and reporting of the net number of vertices removed during
an iteration.
Modified and cleaned up all reporting to screen.
2009-08-06 16:39:48 +01:00
graham
0b990fd925
Tweak to commented out function.
2009-08-05 18:20:24 +01:00
mattijs
e5a710d3eb
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-08-05 16:18:38 +01:00
graham
20407ca628
Moved vertex size and alignment setting to an external function. Still needs to
...
have a stored point rebuild mechanism.
Added functions to decide when and how to rebuild and store the surface
conformation. conformToSurface is now private, so only move can be called from
outside the conformalVoronoiMesh class.
2009-08-05 15:27:06 +01:00
graham
97900b0ba4
Using a remove and insert method to move points to avoid problems with the CGAL
...
move function. If move can't be fixed by the CGAL guys then go to a complete
removal and reinsertion at each step.
2009-08-05 13:25:00 +01:00
henry
d4864d9b6e
Moved the "generic" BCs into a separate library and included it only in those utilities
...
which need this functionality. Solvers will now check the correctness of the BCs on
read.
2009-08-04 22:13:54 +01:00
graham
e82106c619
Storing and reinserting surface conformation instead of recalculating at each
...
iteration. Rebuilding every 10 steps as a hard-coded experiment.
2009-08-04 18:26:55 +01:00
mattijs
fe0745476d
revert to reading surfaces from constant so parallel works out of the box
2009-08-04 16:43:38 +01:00
graham
fdcc01b2e3
Linear surface distance cell size function
2009-08-03 15:06:26 +01:00
graham
8d9063f8e5
Modified size function - function of distance to surface.
2009-07-31 17:53:50 +01:00
graham
851639c0f5
Added rotational face controller to CV2DMesher. Works well, converges in <80
...
iterations as with 3D. Size function and controller parameters hard coded.
Produces seg faults from CGAL intermittently on point insertions, whether the
exact or inexact kernel is used, in FULLDEBUG or NDEBUG builds. Submitted query
to cgal mailing list.
2009-07-31 16:48:19 +01:00
graham
60a59da975
Merge branch 'master' into cvm
2009-07-29 14:13:35 +01:00
graham
2d2c8cf8bc
Merge branch 'master' into cvm
2009-07-28 10:40:50 +01:00
Mark Olesen
655608678e
Merge commit 'OpenCFD/master' into olesenm
2009-07-27 08:31:06 +02:00
Mark Olesen
91157af10c
All ThirdParty build-related stuff moved there.
2009-07-24 23:10:15 +02:00
henry
816f6b3488
Updated the headers.
2009-07-24 17:01:31 +01:00
Mark Olesen
b1a3bcc9a9
take control of Allwmake scripts for third-party sources
...
- this improves the chances of having a current version
2009-07-24 11:01:29 +02:00
mattijs
a6997c257a
allow baffles on coupled boundary faces
2009-07-23 20:52:19 +01:00
andy
c1993c92fa
Merge branch 'olesenm'
2009-07-23 12:42:52 +01:00
Chris Greenshields
1bfa912781
Modified more Description entries in utilities for documenting purposes
2009-07-22 15:51:53 +01:00
Mark Olesen
dacc93a568
Merge commit 'OpenCFD/master' into olesenm
2009-07-22 12:55:38 +02:00
Mark Olesen
5692a06a32
fixed up sloppy Allwclean files
2009-07-22 12:39:20 +02:00
mattijs
e3710c2b66
stabilise expansion calculation for if no point on arc
2009-07-22 11:24:03 +01:00
mattijs
b67065aadf
option for reading cubit meshes
2009-07-16 14:16:12 +01:00
mattijs
85e0f54ec9
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-07-15 12:04:31 +01:00
mattijs
077b6ec769
extraneous include files
2009-07-15 12:03:43 +01:00
graham
1f8e1a0a58
Added objOutput Switch to controls to allow debug obj output to be controlled.
...
Added function to limit vertex displacements that penetrate the surface or come
to close to it (closer than twice the local point pair distance) by recursively
halving the displacement vector.
Using runTime.loop() construct in app for time loop - with runTime++ at the end
of the loop - wasn't getting the polyMesh written to the final timestep. Moving
targetCellSize and internal delaunay vertex writing out of writeDual function
and calling them from the move() function.
2009-07-14 15:34:30 +01:00
graham
6cf07c4cb8
Implemented face rotation controller and some associated functions and fixes.
...
Some test code code commented out at point of displacementAccumulator
addition/clip.
2009-07-13 18:24:21 +01:00
graham
5f50cd5f29
Closing brace in wrong place, non internalOrBoundaryPoint Dvs asked for
...
alignment which was uninitialised.
2009-07-11 12:49:34 +01:00
graham
1dbb7bb393
Merge branch 'master' into cvm
2009-07-10 11:39:45 +01:00
henry
37b0fe0ade
Corrections to get the tutorial test loop to run cleanly.
2009-07-09 23:28:54 +01:00
mattijs
e6cdada5d6
correct extrudeMesh
2009-07-09 16:01:36 +01:00
mattijs
4c13ef589b
faceZone checking. wip
2009-07-09 11:57:21 +01:00
graham
db77abe02b
Merge branch 'master' into cvm
2009-07-09 10:24:23 +01:00
mattijs
9015b7f493
added comment
2009-07-07 18:54:19 +01:00
mattijs
3d6be6aa5e
expand on case directory
2009-07-07 15:48:18 +01:00
mattijs
6acfd6a3ae
execute bit set
2009-07-07 15:48:04 +01:00
mattijs
d02e3f1468
unused files
2009-07-07 15:38:50 +01:00
graham
0cbe8c8466
Fixing snappyHexMesh tut conflict
2009-07-06 14:40:38 +01:00
mattijs
e17c87d876
wildcards for patch spec
2009-07-01 13:54:48 +01:00
mattijs
95dfa44497
missing entry
2009-07-01 13:54:20 +01:00
mattijs
12a924a3f5
no backup of old set
2009-06-30 22:17:20 +01:00
mattijs
1cabcf6c12
createBaffles with faceZone
2009-06-30 22:17:03 +01:00
mattijs
e28256477a
checks on zones
2009-06-30 22:16:01 +01:00
graham
f00b156252
Merge branch 'master' into cvm
2009-06-30 11:24:34 +01:00
mattijs
e6416c2604
preserve flipmap
2009-06-29 17:30:02 +01:00
mattijs
74d7cb2664
changed faceZone flip map usage
2009-06-25 23:42:49 +01:00
mattijs
70dfaf6456
moved message printing
2009-06-25 19:34:37 +01:00
mattijs
6c994a32d6
updated example dictionaries for new sources
2009-06-25 17:24:08 +01:00
graham
c6ee712a17
Merge branch 'master' into cvm
2009-06-24 16:00:19 +01:00
mattijs
75945b507f
error check for zero cells
2009-06-23 13:16:00 +01:00
graham
4bb9d9c150
Merge branch 'master' into cvm
2009-06-22 16:30:20 +01:00
mattijs
0fd2a5f056
making stitchMesh,mergePatchPairs work
2009-06-18 20:35:55 +01:00
graham
02ddfa98e1
Merging master, fixing conflict in searchableBox.C
2009-06-18 15:26:01 +01:00
graham
cd204331bf
Modified copyright years
2009-06-17 14:27:52 +01:00
mattijs
8900641265
not split concave angles by default
2009-06-17 13:37:53 +01:00
mattijs
e92d84b7a9
extrudeMesh improvements
2009-06-16 16:44:35 +01:00
mattijs
3a4cd98671
update face flip map on zone
2009-06-09 14:18:37 +01:00
mattijs
2d9ea72b6a
allow -overwrite in snappyHexMesh
2009-06-09 14:02:10 +01:00
mattijs
466b95af86
use extrapolated cell-centre for testing;moved added patch information into meshRefinement class
2009-06-08 18:03:12 +01:00
graham
f35943a8a7
Tidying up CGAL and boost inclusion. Removed the CGAL_PATH variable, using
...
CGAL_SRC for everything. Changed location of CGAL_FILES "files".
Updated old meshers with new options.
in .bashrc using this environment:
~~~~~~~~~~~
export BOOST_LIB_VERSION=1_39
export BOOST_PATCH_LEVEL=_0
export BOOST_COMPILER=gcc43
export BOOST_VERSION=$BOOST_LIB_VERSION$BOOST_PATCH_LEVEL
export BOOST_ROOT=$WM_THIRD_PARTY_DIR/boost_$BOOST_VERSION
export CGAL_VERSION=3.4
export CGAL_SRC=$WM_THIRD_PARTY_DIR/CGAL-$CGAL_VERSION
~~~~~~~~~~~
and have written a script call makeCGAL to build and configure boost and CGAL:
~~~~~~~~~~~
BOOST_ARCH_PATH=${BOOST_ROOT}/platforms/${WM_OPTIONS}
cd ${BOOST_ROOT}
rm -rf ${BOOST_ARCH_PATH}
./bootstrap.sh \
--with-libraries=thread \
--libdir=$BOOST_ARCH_PATH/lib \
--includedir=$BOOST_ROOT/include
if [ -r /proc/cpuinfo ]
then
WM_NCOMPPROCS=$(egrep "^processor" /proc/cpuinfo | wc -l)
[ $WM_NCOMPPROCS -le 8 ] || WM_NCOMPPROCS=8
time ./bjam -j $WM_NCOMPPROCS install
else
time ./bjam install
fi
echo "Done boost"
cd ${CGAL_SRC}
BOOST_VERSION_NO=`grep "#define BOOST_VERSION " \
${BOOST_ROOT}/include/boost-${BOOST_LIB_VERSION}/boost/version.hpp \
| cut -d " " -f 3`
cmake \
-DGMP_INCLUDE_DIR=${WM_THIRD_PARTY_DIR}/gmp-4.2.4 \
-DGMP_LIBRARIES_DIR=${WM_THIRD_PARTY_DIR}/gmp-4.2.4/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib \
-DGMP_LIBRARIES=${WM_THIRD_PARTY_DIR}/gmp-4.2.4/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib/libgmp.so \
-DMPFR_INCLUDE_DIR=${WM_THIRD_PARTY_DIR}/mpfr-2.4.1 \
-DMPFR_LIBRARIES_DIR=${WM_THIRD_PARTY_DIR}/mpfr-2.4.1/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib \
-DMPFR_LIBRARIES=${WM_THIRD_PARTY_DIR}/mpfr-2.4.1/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib/libmpfr.so \
-DBoost_INCLUDE_DIR=${BOOST_ROOT}/include/boost-${BOOST_LIB_VERSION} \
-DBoost_LIBRARY_DIRS=$BOOST_ARCH_PATH/lib \
-DBoost_THREAD_LIBRARY=$BOOST_ARCH_PATH/lib/libboost_thread-${BOOST_COMPILER}-mt-${BOOST_LIB_VERSION}.so \
-DBoost_THREAD_LIBRARY_RELEASE=$BOOST_ARCH_PATH/lib/libboost_thread-${BOOST_COMPILER}-mt-${BOOST_LIB_VERSION}.so \
-DBoost_VERSION=$BOOST_VERSION_NO \
${CGAL_SRC}
echo "\${CGAL_SRC}/src/CGAL/assertions.cpp" > ${CGAL_SRC}/src/CGAL/files
echo "\${CGAL_SRC}/src/CGAL/MP_Float.cpp" >> ${CGAL_SRC}/src/CGAL/files
echo "\${CGAL_SRC}/src/CGAL/Random.cpp" >> ${CGAL_SRC}/src/CGAL/files
echo "\${CGAL_SRC}/src/CGAL/io.cpp" >> ${CGAL_SRC}/src/CGAL/files
echo "Done CGAL"
2009-05-28 20:39:03 +01:00
graham
901bd023c3
Modifying options for building with boost to make sure that the ThirdParty
...
version is being used.
2009-05-28 17:35:47 +01:00
graham
8416ec4ebc
merging master, fixing conflict in surfaceFeatureExtract.
2009-05-20 18:40:50 +01:00
Mark Olesen
8edf105c45
cleanup of time handling (cosmetic changes), used timeSelector in more places
2009-05-20 15:40:30 +02:00
Mark Olesen
d1295da31f
adjust solvers and utilities to use new argList methods
...
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
graham
428d629d95
Merge branch 'master' into cvm
2009-05-18 11:59:50 +01:00
Mark Olesen
4366d8df2c
cosmetics - adjust copyright dates
2009-05-11 15:10:31 +02:00
Mark Olesen
51f443a345
Merge commit 'OpenCFD/master' into olesenm
...
Conflicts:
applications/utilities/mesh/manipulation/createBaffles/createBaffles.C
Can't use [0] to assign the first value of a DynamicList unless it has been
preceded by a setSize() - use append() instead.
2009-05-06 09:33:38 +02:00
graham
d781dcf38c
Merge branch 'master' into cvm
2009-05-01 10:11:25 +01:00
mattijs
3d88003e77
order of creation consistent with cyclics
2009-04-30 20:31:13 +01:00
graham
c5ee731267
Conformation to internal and external feature edges.
2009-04-30 20:21:50 +01:00
graham
b487a13281
Added reinsertFeaturePoints and insertVb. Added move() function to be called
...
from cvMesh at each iteration.
Modified adaptiveLinear to allow relaxation calls to be made nto necessarily
every time step. Modified sequence of calling of move() and runTime++ in cvMesh
and added a +1 in adaptiveLinear to make the relaxation start at the correct
value and finish on a positive non-zero value.
2009-04-29 14:52:45 +01:00
Mark Olesen
3ce125ff48
minor build fix
...
- createBaffles used List::append(const T&), changed to DynamicList
2009-04-28 10:18:34 +02:00
graham
ff66dc68d4
Merge branch 'master' into cvm
2009-04-25 13:47:54 +01:00
mattijs
92dbf49ae6
allow multiple coincident baffles
2009-04-24 09:02:03 +01:00
mattijs
d55c97669a
directMapped extension for inter-region
2009-04-17 11:00:15 +01:00
mattijs
676b7bfe73
added region option
2009-04-15 12:32:33 +01:00
graham
25f0a4c01d
Merge branch 'master' into cvm
2009-04-13 13:11:00 +01:00
graham
ce65125574
Surface conformation point pair insertions and polyMesh output (without patching) included.
2009-04-10 17:31:59 +01:00
graham
52cdb0863a
Merge branch 'master' into cvm
2009-04-09 17:24:13 +01:00
mattijs
c203c3d6fd
fixed layer addition iterations
2009-04-09 13:04:23 +01:00
graham
c9e580d266
Ability to fill any initial points properly into any surfaces. Using conformationSurfaces class to handle geometric queries to the surfaces to be conformed to.
2009-04-08 14:56:44 +01:00
henry
51b470c0ee
Improved argument handling and error messages.
...
Changed "axisNormal" to "axis": it isn't the normal to the axis.
2009-04-07 12:52:59 +01:00
graham
fba3c2a732
Added pointFile initialPointsMethod. Lots of tweaks and setting up.
2009-04-06 15:11:54 +01:00
graham
88b7fd4dcb
Adding basic functionality from CV3D and creating initialPointsMethod runtime selectable method.
2009-04-03 21:11:54 +01:00
graham
ef1c6a201f
Merge branch 'master' into cvm
2009-04-03 18:16:53 +01:00
mattijs
2e6888a714
write hexRef8 data to correct mesh
2009-04-03 12:29:40 +01:00
graham
9dbc29742a
Basic infrastructure and thinking - designing using the cvMeshDict.
2009-04-02 19:14:44 +01:00