Mark Olesen
d572f40c63
ENH: allow retention of 'FoamFile' when reading dictionaries
...
- used in expandDictionary
2010-05-17 12:56:30 +02:00
Mark Olesen
f9f988d82f
Merge remote branch 'OpenCFD/master' into olesenm
...
Conflicts:
src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
2010-05-31 11:50:56 +02:00
Mark Olesen
ff30e6b61a
STYLE: can use bool instead of Switch version of dictionary::lookupOrDefault
...
- both versions handle the same input words.
Only need the <Switch> version when the destination variable is
also a Switch and we need to output the word later.
2010-05-20 14:17:18 +02:00
Mark Olesen
9525d57d71
STYLE: use readIfPresent instead of found/lookup combination
2010-05-20 08:52:45 +02:00
andy
ccf61a7db8
Revert "STYLE: remove unneed '()' for simple return statements,"
...
This reverts commit c600ce545d
.
2010-05-18 14:30:53 +01:00
Mark Olesen
13aa4d6db4
Merge remote branch 'OpenCFD/master' into olesenm
...
- use GPL version 3
2010-05-18 15:00:40 +02:00
Mark Olesen
8b428bc73c
STYLE: add some usage comments to some conversion utilities
...
STYLE: move polyDualMesh from conversion -> manipulation
2010-05-18 14:41:53 +02:00
Mark Olesen
bde8dc579a
STYLE: fixup some dictionary headers
2010-05-18 11:38:07 +02:00
Mark Olesen
33c0e1dacc
Merge remote branch 'OpenCFD/master' into olesenm
2010-05-18 09:44:33 +02:00
Mark Olesen
c600ce545d
STYLE: remove unneed '()' for simple return statements,
...
- fix 'forAll (' -> 'forAll(' format (again)
2010-05-17 13:08:11 +02:00
Mark Olesen
5bdcece3af
ENH: allow retention of 'FoamFile' when reading dictionaries
...
- used in expandDictionary
2010-05-17 12:56:30 +02:00
mattijs
78e5ef9dbd
ENH: specification of selection of cellZone in snappyHexMeshDict.
...
Now allows specification of inside point to help leaky surfaces.
2010-05-17 11:45:01 +01:00
graham
3d43439072
ENH: Better output formatting, directly outputting
...
sixDoFRigidBodyDisplacement BC entries.
2010-05-13 16:00:42 +01:00
mattijs
925202da2e
ENH: have -noSync option to prevent topoSet/setSet automatically syncing coupled faces.
2010-05-12 15:52:19 +01:00
mattijs
7507b5f6bd
BUG: fixed subset action in topoSet; renamed sourceDict keyword to sourceInfo.
2010-05-11 12:09:49 +01:00
mattijs
9f2e06ed55
STYLE: added missing command line option descriptions for mapFields and splitMeshRegions.
2010-05-11 10:52:35 +01:00
mattijs
c367e07642
ENH: Converted all cellSet/faceSet/pointSet to topoSet.
2010-05-10 17:17:49 +01:00
mattijs
49bf24b194
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-05-10 14:31:52 +01:00
mattijs
1a1c6a57e2
STYLE: Added comment to explain usage.
2010-05-10 13:57:44 +01:00
mattijs
6660ec17e5
ENH: topoSet tool to replace cellSet,faceSet,pointSet.
2010-05-08 17:39:24 +01:00
Mark Olesen
5087125424
STYLE: remove erroneous section-label on doxygen @endcond
2010-05-07 15:30:27 +02:00
Mark Olesen
1b4450890a
ENH: write patches as vtkPolyData instead of vtkUnstructuredGrid
...
- slightly better memory efficiency and file sizes
- consistent with library reader
2010-05-07 09:35:40 +02:00
Mark Olesen
64ac5cbc78
ENH: allow direct writing of polyhedra from foamToVTK
2010-05-07 09:06:48 +02:00
Mark Olesen
5b588af7ab
ENH: use simpler API for vtkPolyhedron
2010-05-06 17:56:37 +02:00
Mark Olesen
476f4bb7f6
ENH: reduce the number of trailing spaces when writing VTK legacy files
2010-05-06 11:21:47 +02:00
mattijs
4380e0fbea
ENH: give warning for value field inside cyclic.
2010-05-04 17:33:13 +01:00
mattijs
72caa3020b
ENH: Recognise already converted boundary file and change fields accordingly.
2010-05-04 12:41:01 +01:00
Mark Olesen
9b24f6c51b
ENH: add first provisioning for foamToVTK without polyhedral decomposition
2010-05-03 10:42:45 +02:00
Mark Olesen
0e9851b432
Merge remote branch 'OpenCFD/master' into olesenm
2010-05-03 09:34:31 +02:00
Mark Olesen
35afeb9b18
STYLE: remove superfluous uses of argList::validArgs.clear()
...
- a holdover from the old <root> <case> days
2010-05-03 08:38:39 +02:00
mattijs
7f6740a9eb
Merge commit 'origin/master' into splitCyclic
2010-04-30 15:10:10 +01:00
Mark Olesen
4ea1f8f98a
ENH: enable vtkPolyhedron support when detected
2010-04-30 12:36:49 +02:00
mattijs
4e0fdc69ea
BUG: createPatch was reading mesh before setting matchTol so could not correct illegal mesh
2010-04-30 11:16:57 +01:00
mattijs
a967d05fd3
BUG: was reading mesh before setting coupledPolyPatch::matchTol
2010-04-29 18:42:30 +01:00
Mark Olesen
72f7d46f23
ENH: add operator[](const word&) as "find-by-name" to some classes
...
- affected: polyBoundary, fvBoundaryMesh, ZoneMesh, searchableSurfaces
before:
const label zoneI = mesh.cellZones().findZoneID(zoneName);
const cellZone& cz = mesh.cellZones()[zoneI];
after:
const cellZone& cz = mesh.cellZones()[zoneName];
2010-04-29 10:12:35 +02:00
Mark Olesen
845314b280
Merge remote branch 'OpenCFD/master' into olesenm
2010-04-28 14:49:39 +02:00
mattijs
0da8c1864d
ENH: Have -region argument to foamFormatConvert
2010-04-27 14:55:30 +01:00
Mark Olesen
147fa2a75d
STYLE: add notes to some (most) command-line options
...
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
Mark Olesen
5debfe4cdf
ENH: Remove vtk(Cxx|Type)RevisionMacro, vtkTypeRevisionMacro -> vtkTypeMacro
...
From VTK notes:
- The CVS $Revision$ keyword replacement will no longer maintain these
macros automatically. They were used only to implement CollectRevisions
and vtkObjectBase::PrintRevisions, an API that was never used.
2010-04-26 09:24:03 +02:00
Mark Olesen
9c32ce1016
STYLE: use forAll macro in more places, avoid LF-CR endings
2010-04-23 18:35:55 +02:00
Mark Olesen
03338b9ea9
STYLE: partial revert for 5cfa97624e
2010-04-23 10:23:08 +02:00
Mark Olesen
4d2a297a67
BUG: syntax problems found by gcc-4.5.0
...
- "cpp -traditional-cpp" doesn't strip C++-style comments
Probably need a workaround with sed -e 's@^ *//@@' if we
wish to support C++-style comments in Make/{files,options}
- lduMatrixTests.C:121:1:
error: ‘Foam::lduMatrix::solverPerformance::solverPerformance’ names
the constructor, not the type
- edgeFaceCirculatorI.H:355:1:
error: ‘Foam::edgeFaceCirculator::edgeFaceCirculator’ names the
constructor, not the type
- patchPointEdgeCirculatorI.H:236:1:
error: ‘Foam::patchPointEdgeCirculator::patchPointEdgeCirculator’
names the constructor, not the type
- objToVTK.C:116:5:
error: ‘Foam::argList::argList’ names the constructor, not the type
same in surfaceClean.C, surfaceRefineRedGreen.C, surfaceSplitByPatch.C
- fireFoam/createFields.H:74:41:
error: type/value mismatch at argument 1 in template parameter list
for ‘template<class T> class Foam::autoPtr’
2010-04-22 09:00:31 +02:00
Mark Olesen
5cfa97624e
STYLE: more consistent New methods, use unregistered IOobject where appropriate
2010-04-20 17:13:35 +02:00
mattijs
cff2580336
Merge branch 'master' into splitCyclic
...
Conflicts:
applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C
applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C
src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
src/meshTools/sets/topoSets/faceSet.C
src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C
2010-04-16 12:09:34 +01:00
Mark Olesen
937e0d23d0
STYLE: consistent naming of files containing the 'New' method
...
before:
- 'new' prefixed to camel-cased class name: eg, someClass -> newSomeClass
- 'New' prefixed to templated class name: eg, TmplClass -> NewTmplClass
- 'New' suffixed to class name: eg, someClass -> someClassNew
after:
- consistent 'New' suffixed to class name, no change of case
eg, someClass -> someClassNew
eg, TmplClass -> TmplClassNew
2010-04-13 18:47:47 +02:00
Mark Olesen
42807ddd7e
STYLE: fix worst spacing violations for 'os <<' constructions
...
- accept some violations of the coding guidelines though
- perhaps adding a style exception would be simpler.
2010-04-13 17:45:49 +02:00
mattijs
defea5836e
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H
src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.C
src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.C
2010-04-13 11:07:19 +01:00
andy
2c54d448f5
ENH: Use const reference instead of const copy in loop
2010-04-13 09:57:33 +01:00
Mark Olesen
874120350c
STYLE: use forAllIter, forAllConstIter in more places
...
ENH: change some iterator -> const_iterator access
BUG: found some places with forAllIter and ::iterator !
2010-04-13 09:10:36 +02:00
mattijs
3b53ff5658
ENH: Make snappyHexMeshDict consistent with nGrow change.
...
nGrow in 1.6.x was always taken to be 0!
2010-04-12 17:27:39 +01:00
Mark Olesen
b6f3bd4c23
STYLE: follow coding guide recommendation for '//- Destructor'
2010-04-12 11:55:52 +02:00
Mark Olesen
a50f01b079
STYLE: use forAllIter, forAllConstIter instead of long-hand version
...
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
andy
357ff92e8d
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-04-07 11:42:32 +01:00
andy
42b4269c4e
BUG: execFlowFunctionObjects utility
...
- moved creation of singlePhaseTransportModel to within RAS/LES model
construction for incompressible cases
2010-04-07 11:37:45 +01:00
mattijs
fd7e9c9ae4
ENH: Added option for explicitly providing regions. Restructured code.
2010-04-01 14:20:27 +01:00
andy
f99a145143
ENH: Renamed curveSet to polyLineSet to better represent sampling method
2010-04-01 12:35:41 +01:00
mattijs
4da8a94f45
BUG: was not counting the processorCyclic patches.
2010-04-01 12:24:41 +01:00
mattijs
d947aa9c9e
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-30 21:54:08 +01:00
mattijs
883dbc2e2d
ENH: Add concave cell checking
2010-03-30 21:48:57 +01:00
Mark Olesen
6adf0cbca8
Merge remote branch 'OpenCFD/master' into olesenm
2010-03-30 11:42:19 +02:00
Mark Olesen
c508b2fe17
STYLE: consistent capitalization of Private/Protected Member Functions in comments
2010-03-30 11:33:42 +02:00
mattijs
9bb6e5ac25
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-30 08:28:19 +01:00
mattijs
1a741a2259
BUG: numbering on lagrangian files was not uptodate with field vtk files
...
If no particles are in cloud it does not get written. Hence it would also
not output a vtk file. Changed now to always output lagrangian data.
2010-03-30 08:26:45 +01:00
mattijs
9d216d5280
STYLE: Remove unused debug code
2010-03-30 08:20:22 +01:00
Mark Olesen
3213388ddf
Merge remote branch 'OpenCFD/master' into olesenm
2010-03-30 09:11:52 +02:00
andy
4ba2681dd6
ENH: Updated pdfPlot utility
...
- pdf updated - needs to be inside pdfs namespace
- added writeData option - write individual data/samples to file
2010-03-29 17:34:50 +01:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
mattijs
d01adb74e3
ENH: Added tet volume check to checkMesh and snappyHexMesh
2010-03-26 13:39:51 +00:00
mattijs
c521e80c9f
ENH: Added missing surfaceField types (surfaceVectorField, surfaceTensorField etc)
2010-03-26 13:38:55 +00:00
mattijs
d981028d35
STYLE: Added to header
2010-03-26 13:35:42 +00:00
mattijs
89c7523c72
Merge branch 'master' into splitCyclic
...
Conflicts:
src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
src/parallel/decompose/scotchDecomp/scotchDecomp.C
src/parallel/parMetisDecomp/parMetisDecomp.C
src/sampling/sampledSurface/isoSurface/isoSurfaceCell.C
2010-03-25 13:54:12 +00:00
mattijs
50160baa9c
gamg on cyclics working again
2010-03-23 13:53:40 +00:00
mattijs
5d93fbe16d
ENH: Removed parmetis. Use ptscotch instead.
2010-03-22 16:48:48 +00:00
mattijs
658b7700e1
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
etc/settings.csh
etc/settings.sh
src/parallel/decompose/Allwmake
2010-03-22 15:44:34 +00:00
mattijs
9f5c39af53
ENH: have ptscotch
...
ptscotch - compiles into ptscotchDecomp. All thirdparty decompositionMethods
now moved out of decompositionMethods so add them explicitly to link line
for programs that need them (decomposePar, snappyHexMesh etc.)
2010-03-22 15:38:35 +00:00
mattijs
09a986a89a
STYLE: Remove unused static variable
2010-03-22 10:32:13 +00:00
mattijs
6680ddcfee
ENH: Reuse existing zones.
2010-03-22 10:31:37 +00:00
Mark Olesen
01f8538e27
ENH: ignore empty zones in paraview reader
2010-03-19 18:57:09 +01:00
mattijs
01d6eded39
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-18 14:41:26 +00:00
mattijs
a6af4e272c
ENH: offset calculation for multiple directMapped patches.
2010-03-18 14:39:33 +00:00
mattijs
9c60eb17d1
ENH: strip off comment lines
2010-03-18 14:38:44 +00:00
andy
dc06f24a0c
ENH: Split src/parallel into decompse and reconstruct to remove cyclic build dependency
2010-03-18 12:23:01 +00:00
mattijs
a703cb3b94
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-17 18:13:13 +00:00
mattijs
e0fcca3858
ENH: don't use directMapped on top patch.
2010-03-17 18:12:48 +00:00
andy
08f10e8ea1
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-17 15:06:16 +00:00
andy
cf034de37a
Merge branch 'olesenm'
2010-03-17 14:58:34 +00:00
mattijs
f1ab396a66
STYLE: remove all references to wallPoint::greatPoint.
...
Replaced with point::max wherever possible. Is VGREAT, not GREAT so be
careful with calculations.
2010-03-17 11:48:44 +00:00
mattijs
06d2dc9e4c
ENH: application to extrude a faceZone into a separate region mesh
...
Extrudes either internal faces to inflate a baffle or extrudes boundary
faces to create separate mesh. Inserts directMappedWall between the two
meshes.
2010-03-17 11:17:17 +00:00
Mark Olesen
ee0dea2284
ENH: add top-level Allwclean for paraview plugins
2010-03-12 14:24:04 +01:00
andy
45463d2325
ENH: Using more descriptive names for input entries for createPatch utility
2010-03-12 12:44:14 +00:00
Mark Olesen
2788a12c08
Merge remote branch 'OpenCFD/master' into olesenm
2010-03-10 15:15:23 +01:00
mattijs
49fb39e8f3
Merge commit 'origin/master' into splitCyclic
...
Conflicts:
applications/utilities/parallelProcessing/decomposePar/decomposePar.C
applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H
src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
2010-03-09 21:28:53 +00:00
mattijs
ebcb825fab
BUG: used wrong variable names for faceZones. Did not close file.
2010-03-09 13:21:19 +00:00
Mark Olesen
767b35110f
STYLE: use wordReList for patch and faceZone names in foamToEnsight
...
- avoids odd side effects that can occur when a wordList is treated as
a list of regex patterns
2010-03-05 16:47:46 +01:00
Mark Olesen
be86669315
Merge remote branch 'OpenCFD/master' into olesenm
2010-03-05 15:46:49 +01:00
Mark Olesen
10524cb8a1
STYLE: eliminate ParaView_INST_DIR variable and simplify plugin Make/options
...
- the 'make install' target from ParaView now installs all of the
includes necessary for compiling plugins.
2010-03-05 13:04:30 +01:00
mattijs
18eb2d7099
STYLE: Typo in warning message
2010-03-04 13:47:51 +00:00
mattijs
edeb20c856
ENH: Added faceZones support. Reverted back to using scheduled comms
...
(less memory)
2010-03-04 13:47:09 +00:00
Mark Olesen
89615f708e
ENH: respect face orientation when decomposing polyhedra.
...
ENH: use face::trianglesQuads() method for PV3FoamReader as well.
- this avoids missing faces (and weird cells) in the decomposed polyhedra.
2010-03-04 11:20:20 +01:00
mattijs
5ece14ec6f
BUG: finite volume did not work before.
2010-03-03 10:12:35 +00:00
andy
803556d761
ENH: initialised edge values to avoid compiler warning msg
2010-03-01 17:14:33 +00:00
andy
f88d85ba8a
ENH: have dummy versions for thirdparty libraries
...
The dummyThirdParty tree builds libraries which are drop-in
(but non-functional) versions of some thirdparty libraries. This will
make it easier to ship binary versions without having to ship thirdparty packs.
2010-03-01 17:11:08 +00:00
andy
22ce56db17
Merge branch 'olesenm'
2010-03-01 15:55:30 +00:00
mattijs
27634a044e
STYLE: Add help to command-line arguments
2010-03-01 14:50:41 +00:00
Mark Olesen
8c6a5dde5c
BUG: match order of symmTensor tuples to match the paraview pqScalarBarRepresentation
2010-03-01 14:21:20 +01:00
Mark Olesen
f2f2f60cf5
STYLE: remove unused cruft from flex-based lexers
2010-02-25 16:18:34 +01:00
Mark Olesen
9352e17eed
BUG: fix incorrect node order for VTK_WEDGE in paraview3 reader
...
This appears to be a long-standing bug!?, since it was also in the
paraview-2 reader.
2010-02-24 16:41:21 +01:00
Mark Olesen
f319ddfa61
ENH: begin initial coding for using upcoming vtkPolyhedron
2010-02-24 15:24:32 +01:00
Mark Olesen
91967fb196
COMP: compiling setSet directly (without Allwmake) now works
2010-02-22 13:51:17 +01:00
Mark Olesen
0615b67dcd
Merge commit 'OpenCFD/master' into olesenm
2010-02-18 10:52:34 +01:00
Mark Olesen
78e41f78bd
STYLE: avoid spaces around fileName::operator/ except when split across lines
2010-02-18 10:51:56 +01:00
andy
e49e95a53b
Merge branch 'olesenm'
2010-02-17 16:48:44 +00:00
mattijs
7cd9f82373
ENH: non-blocking for all transfers to master.
2010-02-17 16:04:41 +00:00
mattijs
827d7d7a8f
Merge branch 'volPointInterpolation'
2010-02-17 15:20:56 +00:00
mattijs
62637d8471
ENH: initial overhaul of volPointInterpolation.
...
- removed globalPointPatch*
- removed pointPatchInterpolate*
since all is now inside volPointInterpolation.
2010-02-17 14:01:44 +00:00
Mark Olesen
a3fec987a8
CLEANUP: remove most references to (deprecated) .ftr file format
...
- use .obj files for debugging purposes instead.
2010-02-17 13:56:56 +01:00
Mark Olesen
689d4b2860
ENH: provide operator[] for accessing argList options.
...
- operator[] with label -> get args at index
- operator[] with word -> get named option
2010-02-17 11:43:42 +01:00
Mark Olesen
b61537bd28
Merge commit 'OpenCFD/master' into olesenm
2010-02-17 09:32:41 +01:00
Mark Olesen
2f4efd20d7
STYLE: rename starToFoam -> star3ToFoam for the sake of clarity
2010-02-16 18:40:10 +01:00
Mark Olesen
d857d671ac
STYLE: use new argList argRead() method and operator[] for cleaner code.
...
- deprecate argList::additionalArgs() method and remove uses of it
2010-02-16 17:57:49 +01:00
Mark Olesen
ee293cde8e
ENH: add usage information for '-overwrite' option.
...
- make centrally available via #include "addOverwriteOption.H"
2010-02-16 11:44:27 +01:00
andy
0bcabbb8df
Merge branch 'olesenm'
2010-02-12 14:54:41 +00:00
mattijs
bd58fa5322
BUG: globalMeshData::mergePoints was assuming patch was on master processor.
...
Each collocated set of coupled points has a single master assigned to it.
However when doing mergePoints on a patch the master does not have to be
on the patch. So now it returns mesh point labels, not patch point labels.
2010-02-12 12:45:00 +00:00
mattijs
8cf3f429a5
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-02-11 09:09:54 +00:00
mattijs
b6082c3005
ENH: extraneous checking for empty list in ensightMesh. Already done elsewhere.
2010-02-11 09:07:42 +00:00
mattijs
d4f73877e3
ENH: have field selection work for pointFields instead of just volFields.
2010-02-10 14:39:55 +00:00
Mark Olesen
3613752115
ENH: add -tri (triangulate) option to foamToSurface, surfaceMeshConvert
...
STYLE: drop surface extraction from foamToStarMesh
- retain surfZone names when writing surfaces
- remove surface extraction/writing from meshWriter since it now
duplicates what the meshedSurface class can do.
2010-02-10 11:49:53 +01:00
andy
7b3da686d8
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-02-08 19:13:37 +00:00
mattijs
605088884e
ENH: point merging of internal and patches.
...
Uses globalMeshData::mergePoints to topologically merge mesh points.
Also now require all patches on all processors so cleaned up all code for
handling zero-sized patches.
2010-02-08 17:36:13 +00:00
Mark Olesen
2f0692e002
Merge commit 'OpenCFD/master' into olesenm
2010-02-08 15:01:48 +01:00
mattijs
379eac4f74
BUG: meshes with differing pointsInstance and facesInstance were not decomposed correctly.
...
In case of differing pointsInstance and facesInstance it will
- read the points belonging to the facesInstance
- construct and write the mesh belonging to the facesInstance
(so with the old, facesInstance, points)
- additionally write the current points to pointsInstance
2010-02-08 11:12:52 +00:00
mattijs
2fd63db933
ENH: Point merging when postprocessing parallel runs
...
foamToEnsight will merge points on coupled patches. (only for mesh, not for
patches)
2010-02-05 16:27:03 +00:00
mattijs
4747a0c2e6
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-02-05 13:21:24 +00:00
mattijs
d7d97f1f36
ENH: Removed the -filterPatches option.
...
Option was not used anymore. Cleans up the code a bit.
2010-02-05 10:32:47 +00:00
graham
b98a01b28c
ENH: surfaceInertia. Adding the calculation of the Q tensor, required
...
for six DoF motion bodies that are not principal axis aligned shapes
to start with.
Calculates the best match axes to give the most naturl transformation
from the Cartesian axes. The eigenvectors are returned in the order
relating to ascending magnitude of their eigenvalues - not necessarily
in a right handed triplet.
2010-02-04 19:51:31 +00:00
graham
1a9e6bcfad
Revert "Removing large test .obj files from surfaceInertia utility directory."
...
This reverts commit edfba8be92
.
2010-02-03 18:36:30 +00:00
Mark Olesen
8426ca1a8c
Merge commit 'OpenCFD/master' into olesenm
2010-02-03 17:40:37 +01:00
mattijs
36346ec1a2
ENH: Do a weighted balance before refinement and layer addition.
...
Have weight=7 on cells to be refined and balance. Then after refinement
there will be perfect balancing. Similar for layer addition.
2010-02-03 06:18:30 +00:00
mattijs
5dd93c1189
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-02-02 23:01:39 +00:00
graham
9f23282e0d
STYLE: surfaceInertia. Adding space to option description.
2010-02-02 19:12:58 +00:00
Mark Olesen
a070321792
ENH: Add usage information for snappyHexMesh -overwrite option.
...
Make debug optional.
- minor wording changes in the messages
2010-02-02 15:39:45 +01:00
mattijs
992344ffac
ENH: sampling on triSurfaceMesh
...
sampledTriSurfaceMesh adds sampling on points/triangles of a triSurface(mesh).
All values outside mesh are set to 0.
2010-02-01 16:31:48 +00:00
mattijs
20ac00f67c
ENH: have -loop option on setSet to enable -batch over a set of directories.
...
Only allowed in batch mode. Causes any set to be written to time directory
instead of facesInstance.
2010-01-29 11:43:28 +00:00
mattijs
8b7f6666ca
ENH: sets are now searched for.
...
Some tools now output sets at the pointsInstance (if relating to geometry),
some at the facesInstance (if relating to topology).
So when loading them we now search for them from current time down
to facesInstance. They cannot be beyond facesInstance.
Adapted Time::findInstance to take optional limiting instance. Adapted
topoSet to use this. Adapted all uses of IOobjectList on sets to do the
same.
2010-01-29 10:25:13 +00:00
mattijs
e931525a0f
BUG: sets relating to geometry (most mesh errors) should be written to
...
pointsInstance.
For now also dump topology related sets to pointsInstance since otherwise
paraFoam cannot see them (only looks at first 'sets' directory when searching
back)
2010-01-28 12:19:17 +00:00
mattijs
4b0c5233a9
STYLE: 80 char line length
2010-01-28 11:55:06 +00:00
mattijs
29b76fa714
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-01-28 11:52:06 +00:00
mattijs
0bf1587872
BUG: cell/face/pointSet should be read from facesInstance, not pointsInstance.
...
This comes up when displaying sets on moving meshes. The topology does not
change so the set should stay the same.
2010-01-28 11:50:52 +00:00
andy
001c78e37d
STYLE: no spaces around bracketed args, eg (x) NOT ( x )
2010-01-28 10:57:48 +00:00
mattijs
dc9a8981a3
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-01-27 13:30:16 +00:00
mattijs
011bbf46bc
ENH: splitMeshRegions now fills in coupling information in directMapped patch.
...
- added directMapped*Patch constructors with uniform offset
- changed splitMeshRegions to use it
- adapted chtMultiRegionFoam tutorials
2010-01-27 13:24:06 +00:00
andy
95040bc1a0
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-01-27 12:44:58 +00:00
mattijs
3f559cbacd
ENH: perturbed sample points
2010-01-27 10:25:25 +00:00
mattijs
9f6d081654
STYLE: added comment to explain limitations on pointsync
2010-01-27 10:24:12 +00:00
mattijs
46ad2e55d6
Merge branch 'master' into splitCyclic
...
Conflicts:
applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
src/OpenFOAM/algorithms/MeshWave/FaceCellWave.C
src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/cyclicLduInterfaceField/cyclicLduInterfaceField.C
src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C
src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
src/OpenFOAM/meshes/polyMesh/syncTools/dummyTransform.H
src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
src/edgeMesh/edgeFormats/vtk/VTKedgeFormat.H
src/mesh/blockMesh/curvedEdges/spline.H
src/meshTools/PointEdgeWave/PointEdgeWave.C
src/meshTools/sets/topoSets/faceSet.C
2010-01-26 17:11:18 +00:00
Mark Olesen
ba69655de3
Merge commit 'OpenCFD/master' into olesenm
2010-01-26 09:06:52 +01:00
graham
edfba8be92
Removing large test .obj files from surfaceInertia utility directory.
2010-01-25 18:42:24 +00:00
Mark Olesen
2d91dedaa0
Merge commit 'OpenCFD/master' into olesenm
2010-01-22 13:23:43 +01:00
andy
85964460b8
Removed unused code-template code
2010-01-21 13:42:23 +00:00
andy
9c3a7d3e20
Removed empty line at top of C file
2010-01-21 13:41:57 +00:00
mattijs
ed4d1f6bdf
Changed order of include files so get included before tecio.h
2010-01-18 18:02:25 +00:00
mattijs
06b1695962
Added conversion of zero-sized zones
2010-01-15 17:17:05 +00:00
mattijs
d0b95d6949
Added mesh region option
2010-01-15 17:16:07 +00:00
mattijs
b7ba2d273a
Corrected printing to be on master only
2010-01-15 17:15:42 +00:00
mattijs
c9033fc36f
Added optional settings at comment
2010-01-15 17:14:06 +00:00
Mark Olesen
a694f6e374
Replace a few uses of triSurface with the more general meshedSurface.
2010-01-15 17:27:03 +01:00
Mark Olesen
7a200e81b4
Add foamToSurface to dev repository.
...
- Extracts the boundary faces of a polyMesh to a meshedSurface and
writes in various possible formats.
2010-01-15 16:20:06 +01:00
Mark Olesen
9478a81bce
Use MeshedSurface instead of triSurface in ideasUnvToFoam
2010-01-15 15:04:44 +01:00
Mark Olesen
0d49e4711c
Begin code refactoring of third-party file formats.
2010-01-15 14:35:50 +01:00
mattijs
21048d9600
Disabled writing zero-sized faceZones since upset tecio library
2010-01-13 19:10:54 +00:00
andy
9c79927b67
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-01-05 11:02:03 +00:00
mattijs
aac29d740a
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-01-04 13:37:37 +00:00
andy
25bf6b6ce8
Minor code style corrections
2009-12-22 10:06:37 +00:00
graham
aa847562ce
Reimplementing the uniform density solid inertia calculation from:
...
http://www.geometrictools.com/LibPhysics/RigidBody/RigidBody.html
in surfaceInertia utility. Allows calculation of shell or solid
properties of a triSurface, with optionally specified volumetric or
surface density. Default behaviour is to calculate inertia around
centre of mass, with option to specify reference point.
Various test surfaces supplied and tested against analytical results.
2009-12-18 18:14:32 +00:00
mattijs
3bfec62cee
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-12-17 15:55:21 +00:00
mattijs
b877323a33
Added baffle option and corrected default setting
...
When faceZones are present one has to decide whether to have zone faces
only on the edge of cellZones or also freestanding.
The setting for minMedialAxisAngle was corrected since the calculation
has also been corrected.
2009-12-15 15:56:35 +00:00
Mark Olesen
2760c3db5f
Merge commit 'OpenCFD/master' into olesenm
2009-12-15 10:48:51 +01:00
Mark Olesen
d016db1bc6
Enhance edgeMesh to support more formats.
...
Read only support:
.bdf, .nas - NASTRAN format. Handles both CBEAM and CROD as lines.
CROD is what Hypermesh happens to output.
Write only support:
.vtk - VTK legacy format in ASCII
Read/write support:
.eMesh - native format, which is simply a list of points, edges
with an additional IOobject header that lets them be moved about
easily to use as a featureEdgeMesh.
.inp - STAR-CD inp/cel/vrt combination
IOobject header)
.obj - Alias waverfront format
Radically simplify surfaceFeatureConvert by using the new edgeMesh
functionality.
2009-12-11 16:29:55 +01:00
mattijs
9d817bfbdf
Added -region option
2009-12-11 11:55:07 +00:00
mattijs
a029a59036
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-12-09 17:44:13 +00:00
mattijs
e8af5d62d5
Filter out zero-sized patches; add generic capability
2009-12-09 17:42:30 +00:00
Mark Olesen
0fc464254a
Fix minor bug in surfaceFeatureExtract.C
2009-12-09 13:50:31 +01:00
andy
99c22976ea
added git option
2009-12-09 10:06:00 +00:00
Mark Olesen
30eac79d55
argList gets addNote() static method
...
- output any notes in the usage
2009-12-09 10:58:32 +01:00
Mark Olesen
dd8f4f657a
adjust usage for a few applications to account for new style
2009-12-09 10:19:53 +01:00
mattijs
960c192d25
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
applications/utilities/mesh/manipulation/transformPoints/transformPoints.C
2009-12-08 11:49:13 +00:00
mattijs
a8c400de1d
added region option
2009-12-07 14:59:57 +00:00
Mark Olesen
190bbd69de
add corners() method to boundBox
2009-12-07 13:06:03 +01:00
Mark Olesen
b634c17e55
fixed off-by-one error in argList text wrap
2009-12-04 14:34:04 +01:00
Mark Olesen
37c4f2f375
remove empty 'Description' from various .C files
2009-12-04 14:11:33 +01:00
Mark Olesen
5e972c772f
remove trailing space from some files
2009-12-04 13:39:35 +01:00
Mark Olesen
0e33bf0bba
add some usage information to a few utilities
2009-12-04 10:20:15 +01:00
Mark Olesen
6e3ed58ae5
Merge commit 'OpenCFD/master' into olesenm
2009-12-03 16:40:37 +01:00
mattijs
1665a86206
more Icc11.1 changes
2009-12-02 18:32:03 +00:00
mattijs
4eb40f90ee
link all libraries
2009-12-02 16:41:28 +00:00
mattijs
5ee1f98e2c
linear interpolation always
2009-12-02 16:38:19 +00:00
mattijs
a0a05c1b77
allow region interfaces on processor patches
2009-12-02 16:37:59 +00:00
Mark Olesen
587401643c
add text wrapping to the argList::printUsage output
2009-12-03 16:16:56 +01:00
Mark Olesen
c091d856ae
pedantic changes: 'forAll (' -> 'forAll(' in applications/
...
- to match coding guidelines
2009-12-03 14:12:08 +01:00
Mark Olesen
58b7e64185
Use argList::addOption, argList::addBoolOption (almost) everywhere
...
- ensure that the standard options (eg, from timeSelector) also have
some usage information
2009-12-03 13:32:12 +01:00
Mark Olesen
00985638d8
remove fvCFD.H usage from remaining library source
...
- exception calcType.H since it'll most likely be used for building
applications anyhow
- use quailified names in more of the lagrangian code
- killed some tab indents in various places.
2009-12-02 15:34:52 +01:00
Mark Olesen
c3457b5152
argList - specializations for optionRead<string> etc.
...
- new optionLookupOrDefault and additional form of optionReadIfPresent
with a default value
2009-12-02 13:45:11 +01:00
mattijs
47eb0c5cd2
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake
2009-12-01 16:47:45 +00:00
mattijs
49a2c73b2d
tecplot360 converter
2009-12-01 16:43:47 +00:00
mattijs
be1b1ceefc
Merge branch 'master' into splitCyclic
...
Conflicts:
applications/utilities/mesh/generation/blockMesh/blockMeshApp.C
applications/utilities/parallelProcessing/decomposePar/decomposeMesh.C
etc/bashrc
etc/cshrc
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
src/decompositionMethods/parMetisDecomp/parMetisDecomp.C
src/dynamicMesh/Make/files
src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
src/dynamicMesh/perfectInterface/perfectInterface.C
src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H
src/finiteVolume/Make/files
src/mesh/blockMesh/blockMesh/blockMesh.C
src/mesh/blockMesh/blockMesh/blockMeshTopology.C
src/meshTools/Make/files
src/meshTools/sets/topoSets/faceSet.C
2009-11-30 15:20:52 +00:00
Mark Olesen
909e6b27e4
Apply coding style recommendations:
...
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
Mark Olesen
6bdb7fb7b5
fixup copyright dates on new code
2009-11-30 08:21:44 +01:00
Mark Olesen
a51f8d3534
Merge commit 'bundle/home' into olesenm
2009-11-30 08:12:04 +01:00
Mark Olesen
fa93ce8cd7
coding style adherence
...
- markup codingStyleGuide.org examples so they actually indent correctly
- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
mattijs
648e485e7d
adapted angle for medial axis determination
2009-11-26 13:06:56 +00:00
Mark Olesen
d17d015f88
Use new last() method for List-type classes
...
- use first() method in some places as well where it helps clarity
- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
Mark Olesen
9157364a4b
Merge commit 'OpenCFD/master' into olesenm
2009-11-25 12:29:31 +01:00
Mark Olesen
b3cdac4baf
remove unused (and duplicate) Tuple.H in applications/utilities/mesh/advanced/modifyMesh/
2009-11-25 12:07:03 +01:00
andy
407d047f07
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2009-11-24 14:45:05 +00:00
andy
95b2a4d39b
re-design to use RASModel
2009-11-24 13:05:01 +00:00
Mark Olesen
81891675ea
Commit Paraview enhancements - quit working on sets/zones frills
...
- Include Sets/Zones now scans immediately to refresh the list of available
mesh parts. Unfortunately, this also causes the object panel to be
modified, even although the selection doesn't acutally need to change.
This seems to be due to how the pqNamedWidgets are getting the information
from the proxy properties. I can't figure if it's possible to acheive what
I want, but we can probably live with the current implementation.
After IncludeZones, simply us 'Reset' to undo the spurious GUI changes.
Works fine - just looks a bit silly.
- Added 'Refresh' button to rescan for new times/fields. Good for
post-processing ongoing calculations without exiting the reader.
- Added 'Skip Zero Time' checkbox: many (some) calculations have
data missing at time=0 (eg, rho, lagrangian, etc). This provides
a convenient way to skip over this time.
- Future?:
We could probably pick up favourite default values for these switches from
~OpenFOAM/controlDict, from a case system/paraview, or simply by making
the casename.OpenFOAM also be an OpenFOAM dictionary with the settings.
2009-11-24 00:09:07 +01:00
Mark Olesen
87300f124e
Merge commit 'OpenCFD/master' into olesenm
2009-11-23 12:03:10 +01:00
mattijs
f0ddc03279
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-11-21 10:54:47 +00:00
Mark Olesen
2c52705cf7
move reconstructPar 'guts' to src/parallel/reconstruct
...
- in preparation for adding an optional '-reconstruct' to a few utilities
re-use as -lreconstruct library
- move related stuff there too
src/decompositionMethods/decompositionMethods
-> src/parallel/decompositionMethods
- added missing namespace qualifiers
2009-11-20 14:37:56 +01:00
graham
fabbd8bb47
Merge branch 'master' into dsmc
2009-11-20 11:31:30 +00:00
mattijs
8a37f34f17
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-11-19 19:37:58 +00:00
mattijs
467feeb659
changed comment
2009-11-19 19:37:49 +00:00
andy
efb0d93a0c
removed ParaView 2 reader module
2009-11-19 10:48:28 +00:00
henry
b93d762e5a
Correction to the ordering of nsided and nfaced elements provided by
...
Francesco Del Citto.
2009-11-16 15:24:48 +00:00
mattijs
6ae8581d03
explicit constructor
2009-11-13 18:18:32 +00:00
mattijs
259a15d9f4
missing EOF
2009-11-13 18:15:29 +00:00
andy
cf9b9bff17
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2009-11-12 13:29:10 +00:00
graham
0870e22400
Merge branch 'master' into dsmc
2009-11-11 13:24:48 +00:00
mattijs
13bddac8f0
singleCellFvMesh and application
2009-11-11 11:29:22 +00:00
mattijs
cad5a703fc
Merge branch 'olesenm'
2009-11-06 11:05:21 +00:00
mattijs
bd00518f47
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-11-04 11:40:20 +00:00
Mark Olesen
ebe39c4ea4
Merge commit 'OpenCFD/master' into olesenm
2009-11-04 08:56:20 +01:00
Mark Olesen
53a9208d9f
Merge commit 'bundle/home' into olesenm
...
Conflicts:
src/OpenFOAM/matrices/simpleMatrix/simpleMatrix.C
src/OpenFOAM/matrices/simpleMatrix/simpleMatrix.H
tutorials/incompressible/simpleFoam/airFoil2D/Allclean
tutorials/multiphase/settlingFoam/ras/tank3D/Allclean
2009-11-04 08:54:34 +01:00
Mark Olesen
b54f89ac05
PV3Reader - render after toggling show point/patch names
2009-11-03 22:13:48 +01:00
henry
e596285b43
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2009-11-03 20:58:43 +00:00
henry
d109f88657
Fix for viewing glyphs on a set of patches provided by Mark Olesen.
2009-11-03 20:58:41 +00:00
Mark Olesen
e3b5d373d0
PV3FoamReader bugfix - interpolated point fields had wrong names on the patches
2009-11-03 21:36:50 +01:00
mattijs
151f30e779
made container constructors explicit
2009-11-03 18:09:52 +00:00
mattijs
69a4c76c6e
changed help text
2009-11-03 18:08:53 +00:00
andy
23cf5d94cd
code tidying
2009-11-03 14:33:01 +00:00
mattijs
cfdb0a5ec3
wildcards for excludedPatches
2009-11-02 13:31:17 +00:00
mattijs
5c98e0b652
Tecplot360 writer
2009-11-02 13:30:51 +00:00
mattijs
ba1422df46
Tecplot360 writer
2009-11-02 13:30:36 +00:00
andy
ec03076d00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2009-10-27 09:53:25 +00:00
henry
278e8c5030
Converted constant reference to primitive arguments to constant primitive arguments.
2009-10-26 22:45:21 +00:00
andy
c9a2f4923e
templated uniformInterpolationTable
2009-10-26 19:15:32 +00:00
andy
cbe5974c26
adding tabulated U wall function BC and utility to generate tables
2009-10-26 18:54:10 +00:00
mattijs
122f3c466f
extraneous reduce on noFailedChecks
2009-10-23 18:35:26 +01:00
Mark Olesen
83cee1cb68
First useful Qt modifications to the PV3blockMeshReader, PV3FoamReader
...
- Show Point Numbers as is_internal="1" and hook directly into a QT-checkbox
and thus bypass modifying the reader state.
- Same for Cache Mesh and Show Patch Names
2009-10-23 00:33:42 +02:00
mattijs
19359869f4
use degToRad
2009-10-22 13:05:26 +01:00