Commit Graph

365 Commits

Author SHA1 Message Date
Mark Olesen
704cfa1e0a ENH: add timing/memory info to foamToEnsight, foamToEnsightParts, foamToVTK
- useful for performance comparisons
2016-06-26 15:39:43 +02:00
Mark Olesen
db467dbcf8 BUG: foamToVTK produces invalid files (fixes #154)
- broken by commit 2027059b (2016-03-09) where the pTraits
  nComponents type was changed from int to Foam::direction
2016-06-21 10:21:17 +02:00
Mark Olesen
1452cc0827 BUG: ensight writers not catching special reserved characters (fixes #122)
- most notably the '%' which is used as a separator in places
  caused problems.

EHN: only use valid ensight file/variable names for writers

- fixed:   foamToEnsightParts, ensightSurfaceWriter
- pending: foamToEnsight

BUG: no geometry written for foamToEnsightParts with moving mesh (fixes #142)

- an incorrect path was causing the issue
2016-06-07 17:16:09 +01:00
mattijs
8a7880af2e BUG: ensightBinaryStream: avoid overflow. Fixes #132 2016-06-01 14:44:30 +01:00
Andrew Heather
b9313ef2fe ENH: Consistency updates after Foundation merge and code tidying 2016-04-25 16:46:56 +01:00
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
mattijs
9e3ce4ec7f Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
Conflicts:
	applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
	applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
	applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
	applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
	applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
	applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
	applications/utilities/postProcessing/velocityField/Co/Co.C
	applications/utilities/postProcessing/velocityField/Pe/Pe.C
	applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
	applications/utilities/preProcessing/changeDictionary/changeDictionary.C
	applications/utilities/preProcessing/setFields/setFields.C
	applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
	applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
	applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
	applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
	src/OpenFOAM/db/IOobject/IOobject.C
	src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
	src/OpenFOAM/db/IOobjects/IOField/IOField.C
	src/OpenFOAM/db/IOobjects/IOList/IOList.C
	src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
	src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
	src/OpenFOAM/db/Time/findInstance.C
	src/OpenFOAM/db/regIOobject/regIOobject.C
	src/OpenFOAM/db/regIOobject/regIOobjectI.H
	src/OpenFOAM/db/regIOobject/regIOobjectRead.C
	src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
	src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
	src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
	src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
	src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
	src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
	src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
	src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
	src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
	src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
	src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
	src/lagrangian/basic/Cloud/CloudIO.C
	src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
	src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
	src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
	src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
	src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
	src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
mattijs
e424059208 ENH: glboal file handling: initial commit
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
  (e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
  for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
Henry Weller
9de3a4280e foamToVTK: Default to ASCII format when WM_LABEL_SIZE=64
Based on patch provided by Alexey Matveichev
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1975
2016-01-19 16:28:23 +00:00
Henry Weller
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
Henry Weller
4eba393fe1 Update code to use the simpler C++11 template syntax 2016-01-10 19:20:16 +00:00
Andrew Heather
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
Andrew Heather
0e01c44129 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
Andrew Heather
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
Andrew Heather
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
Andrew Heather
73dac8c7ee ENH: Updating utilities based on internal development line 2015-12-02 10:17:28 +00:00
mattijs
61dd625227 ENH: checkMesh: have -writeSets option
- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.

    mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel

- fixed order writing of symmTensor in Ensight writers
2015-11-23 15:24:33 +00:00
mattijs
916dcb8685 ENH: parallel: overhaul of parallel mapping
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry Weller
b7cfd08fcb Update headers 2015-06-23 11:27:05 +01:00
Henry Weller
87f6977bcb Removed support for the legacy SiCortex64 architecture 2015-06-23 11:26:45 +01:00
Henry
ebd85bc514 Update header 2015-04-25 15:13:15 +01:00
Henry
82c0cc5312 timeSelector: Rename option zeroTime -> withZero for consistency with the noZero option 2015-04-25 15:12:08 +01:00
Henry
9cd9a9f364 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
sergio
feaa3021b6 STYLE: Updated copyright year 2014-02-21 11:17:31 +00:00
mattijs
59cef386cd BUG: foamToEnsight: handle empty patches 2014-02-20 13:39:56 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
Henry
d648760ead Update headers 2014-01-30 13:02:02 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
mattijs
c8add907aa ENH: foamToVTK: leave VTK directory intact with faceSet, pointSet 2013-11-27 15:23:26 +00:00
mattijs
8712b8276e BUG: foamToEnsight: reset facePrimitives 2013-10-18 16:19:33 +01:00
mattijs
198d0ebc6f ENH: foamToEnsight: cellZone support 2013-09-11 09:31:20 +01:00
mattijs
90a8332ffb ENH: foamToEnsight: add cellZone support 2013-09-05 16:25:03 +01:00
mattijs
401b2624f9 COMP: foamToEnsight: missing include dir 2013-08-13 15:30:58 +01:00
mattijs
472fbded89 BUG: ensight: symmTensor writing 2013-08-13 10:19:10 +01:00
mattijs
88ceb57654 BUG: foamToEnsight: 4 digit files 2013-05-20 09:29:51 +01:00
andy
92dcc69fa8 ENH: Code clean-up 2013-05-03 17:57:43 +01:00
mattijs
d40c785591 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-04-08 16:30:18 +01:00
mattijs
ccb38822ea BUG: foamToEnsight: using 3 digit extension 2013-04-08 16:29:45 +01:00
andy
34ac08a931 ENH: Code updates following changed to IOobjectList 2013-04-08 15:33:02 +01:00
andy
e637dc30d1 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-02-21 16:11:47 +00:00
Henry
74e16d7729 Reformat "template <..." to template<"
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:50 +00:00
Henry
944b8d438b Reformat "template <..." to template<"
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:09 +00:00
andy
951c8436aa ENH: Applying Gijs' patch: Update header documentation for utilities 2013-02-21 10:54:34 +00:00
mattijs
d1d6c3bd12 ENH: foamToEnsight: work with more >1000 times 2013-02-19 10:39:23 +00:00
andy
4bb11a2882 ENH: Removed fieldview reader/converter 2013-02-11 09:33:20 +00:00
andy
7c8522082e STYLE: Code formatting 2013-02-07 16:44:07 +00:00
mattijs
e8ff31f9e8 ENH: Time: use constant(), time() instead of hardcoded strings 2012-12-06 08:24:54 +00:00
mattijs
e65512be4e COMP: sampling: moved sampledSet writing to fileFormats 2012-11-16 13:13:39 +00:00
mattijs
de638685be BUG: foamToEnsight: detect moving/changing meshes 2012-08-01 15:55:41 +01:00
mattijs
30f6574cee ENH: vtkTopo.C: paraview3.12 handle wedge correctly 2012-05-16 14:15:10 +01:00
andy
24084582b4 ENH: Adding updates to Ensight converter (Mark Olesen) 2012-01-20 13:04:44 +00:00
mattijs
51b6dcd4a3 COMP: 64bit label changes 2011-11-28 12:56:34 +00:00
mattijs
03baed76ec ENH: foamToTetDualMesh: move to FOAM_APPBIN 2011-11-08 17:37:49 +00:00
andy
627991bfc4 ENH: deprecated dieselSpray library and related solvers/deps 2011-11-08 16:18:59 +00:00
andy
4f40cdb7d7 GIT: Resolve conflict 2011-08-16 16:09:56 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
mattijs
172ff9edeb ENH: foamToVTK: disable field reading with empty -fields (). 2011-07-28 22:30:12 +01:00
mattijs
d205a84e8d Merge branch 'master' into cvm
Conflicts:
	src/meshTools/searchableSurface/closedTriSurfaceMesh.C
	src/meshTools/searchableSurface/closedTriSurfaceMesh.H
2011-07-20 18:18:22 +01:00
mattijs
68973728a1 ENH: conformalVoronoiMesh: renamed writeTetMesh to writeTetDualMesh 2011-07-19 17:30:25 +01:00
Henry
1e2832fd7d Corrected class names in the file descriptions 2011-07-19 17:26:55 +01:00
mattijs
ea15911286 ENH: foamToTetDualMesh: map data onto tetDualMesh mesh 2011-07-14 22:19:26 +01:00
OpenFOAM-admin
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
mattijs
4f47ff0219 STYLE: dictionaries: update version number 2011-06-10 17:22:56 +01:00
mattijs
472bb82160 ENH: foamToFieldView: added region option. 2011-04-07 09:27:02 +01:00
mattijs
acd7554ae0 STYLE: dictionaries in $FOAM_UTILITIES: header 2011-04-06 19:15:15 +01:00
mattijs
c2c9ab6f0b ENH: foamToTecplot: do not build if tecio not present 2011-03-07 13:44:34 +00:00
mattijs
367deb1773 Revert "COMP: tecio : move out of thirdparty"
This reverts commit de564957bc.

Conflicts:

	applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/examples/gridsolution/gridsolution.cpp
2011-03-07 12:51:26 +00:00
graham
c9c445c5d5 STYLE: Remove tabs and .zip file. 2011-02-18 16:28:13 +00:00
mattijs
de564957bc COMP: tecio : move out of thirdparty 2011-02-16 13:44:26 +00:00
Henry
c3cb632c24 Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs 2011-02-08 18:22:00 +00:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
060acc6eae COMP: fix missing link references to FOAM_EXT_LIBBIN 2011-01-04 09:54:14 +01:00
Mark Olesen
881b3dafa2 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C
	applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/createShellMesh.C
	applications/utilities/surface/surfaceCheck/surfaceCheck.C
	src/finiteVolume/fields/fvPatchFields/derived/advective/advectiveFvPatchField.C
	src/finiteVolume/fields/fvPatchFields/derived/waveTransmissive/waveTransmissiveFvPatchField.C
	src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C

NOTE: also needed to strip trailing space/lines in various files
2010-12-21 10:19:53 +01:00
mattijs
2d43d949b7 STYLE: foamToEnsight : remove some extraneous scoping 2010-12-16 19:01:48 +00:00
Mark Olesen
f367ee2ece ENH: add 'flip()' in-place method to edge, face, triFace 2010-12-07 08:58:31 +01:00
mattijs
0ad7b2cda8 STYLE: foamToEnsight : indentation 2010-10-21 14:07:45 +01:00
mattijs
1526db114b BUG: foamToEnsight : wedge and hex numbering inconsistent between mesh and fields 2010-10-15 15:26:25 +01:00
mattijs
1f2829ac2a ENH: foamToEnsight : filter proc patches only if running parallel 2010-10-14 18:31:08 +01:00
mattijs
5158b331b3 BUG: foamToEnsight : missing truncation of hexes 2010-10-13 11:02:33 +01:00
mattijs
3f2747c669 BUG: foamToEnsight: filtering empty patches from geom but not fields. 2010-10-08 18:00:50 +01:00
mattijs
f749327105 ENH: foamToEnsight : nodal values on boundaries. WIP. 2010-10-08 17:11:22 +01:00
mattijs
bb0e98f55b BUG: use of unset autoPtr 2010-10-05 19:28:04 +01:00
mattijs
9ad20b0a3b ENH: foamToEnsight : cleanup and -nodeValues for outputting interpolate 2010-10-05 12:11:46 +01:00
Henry
da150065e3 foamToFieldview9: Removed redundant floatScalar.H 2010-09-20 14:44:03 +01:00
graham
ebb9a9e1ac ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
mattijs
97dff2650e ENH: foamToVTK : have surface fields on faceZones 2010-09-06 17:02:35 +01:00
mattijs
aa7fe837f5 COMP: ignore return value 2010-08-19 15:42:29 +01:00
graham
28345247a7 STYLE: Fixing code style requirements for more files - those not
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
graham
012494fdb5 STYLE: Fixing code style requirements for all apps.
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
mattijs
3fd4142911 BUG: foamToVTK incorrect symmTensor components 2010-06-10 08:19:28 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +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
476f4bb7f6 ENH: reduce the number of trailing spaces when writing VTK legacy files 2010-05-06 11:21:47 +02:00
Mark Olesen
9b24f6c51b ENH: add first provisioning for foamToVTK without polyhedral decomposition 2010-05-03 10:42:45 +02: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
9c32ce1016 STYLE: use forAll macro in more places, avoid LF-CR endings 2010-04-23 18:35:55 +02:00
Mark Olesen
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +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
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
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
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
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
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
Mark Olesen
2788a12c08 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-10 15:15:23 +01: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
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
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
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
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
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
b6082c3005 ENH: extraneous checking for empty list in ensightMesh. Already done elsewhere. 2010-02-11 09:07:42 +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
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
ed4d1f6bdf Changed order of include files so get included before tecio.h 2010-01-18 18:02:25 +00:00
mattijs
21048d9600 Disabled writing zero-sized faceZones since upset tecio library 2010-01-13 19:10:54 +00:00
andy
1e086391b7 Branch merge + conflict resolution 2009-12-15 11:38:23 +00:00
mattijs
e8af5d62d5 Filter out zero-sized patches; add generic capability 2009-12-09 17:42:30 +00:00
Mark Olesen
dd8f4f657a adjust usage for a few applications to account for new style 2009-12-09 10:19:53 +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
5ee1f98e2c linear interpolation always 2009-12-02 16:38:19 +00: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
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
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
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
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
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
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
henry
278e8c5030 Converted constant reference to primitive arguments to constant primitive arguments. 2009-10-26 22:45:21 +00:00
Mark Olesen
7e0a4d8eb8 foamToEnsightParts: cosmetic changes 2009-09-25 13:39:22 +02:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
henry
0d33a7eb46 Corrected conversion of tensor fields of all types. 2009-09-01 10:44:37 +01:00
mattijs
3b57660542 added genericFvPatchFields 2009-08-25 17:41:40 +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
henry
268574393a Removed orphaned files. 2009-08-04 10:12:25 +01:00
henry
816f6b3488 Updated the headers. 2009-07-24 17:01:31 +01:00
mattijs
76b25b20e7 update comment 2009-07-23 12:57:38 +01:00
Chris Greenshields
1bfa912781 Modified more Description entries in utilities for documenting purposes 2009-07-22 15:51:53 +01:00
henry
37b0fe0ade Corrections to get the tutorial test loop to run cleanly. 2009-07-09 23:28:54 +01:00
andy
dee5c153ca Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-11 17:24:51 +01:00
henry
4c2adfe276 Fixed!!! 2009-06-11 16:18:19 +01:00
andy
4e2dbe6598 added option to use time name instead of time index for file names 2009-06-02 10:41:32 +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
Mark Olesen
72362de6b1 foamToEnsight* fixes and tweaks
foamToEnsight:
    - add -noPatches option
    - had incorrect part# when the internalMesh was not output
    - case file is always ascii

foamToEnsightParts:
    - fixed field selection bug,
      no fields were selected when a single time-step was selected
2009-05-12 12:37:25 +02:00
Mark Olesen
be8cbc1018 use timeSelector mechanism in a few more utilities 2009-03-23 16:57:26 +01:00
Mark Olesen
fb1e155eed Merge commit 'OpenCFD/master' into olesenm 2009-03-16 08:28:08 +01:00
Mark Olesen
fe455d1cbf cloud, surfaceRegistry: rename subInstance -> prefix 2009-03-16 08:27:03 +01:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
Mark Olesen
b968e62ef9 objectRegistry fixes
- objectRegistry gets a rename() that also adjusts the dbDir
- cloud reworked to use static variables subInstance and defaultName.
  This avoids writing "lagrangian" everywhere

string fixes
- avoid masking of std::string::replace in string.H
- avoid old strstream in PV3FoamReader
2009-03-06 15:18:00 +01:00
mattijs
68f1ba6a6d extraneous files 2009-02-13 15:33:04 +00:00
Mark Olesen
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
Mark Olesen
246d569c4d consistency update for null pointers
- uniform use of reinterpret_cast<foo*>(0) instead of
  reinterpret_cast<foo*>(NULL)

- make all static null() members inline since they are really only a cast:
      "*reinterpret_cast<foo*>(0)"
2009-01-16 10:15:49 +01:00
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
Mark Olesen
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
mattijs
eb2e37b296 SiCortex port 2009-01-06 21:41:20 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
e2d140fa94 timeSelector: improved functionality
- the improved side-effect of enabling -zeroTimea alters default selection
  behaviour and -latestTime selection behaviour for utilities in which
  accidentally using the 0/ directory can cause damage (eg, reconstructPar)
- can combine -time ranges and -latestTime
2008-12-10 09:14:00 +01:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
Mark Olesen
e8843a35b5 foamToEnsightParts: add -noMesh option 2008-10-14 18:00:33 +02:00
Mark Olesen
56296e89c1 foamToEnsightParts: added -index option, streamlined IOobject usage, fixed typo 2008-10-14 15:29:30 +02:00
mattijs
c4c0f54fc6 dynamicList change 2008-09-17 11:53:14 +01:00
henry
7b4e30d80a Updated the writePatchField function. 2008-09-10 16:52:14 +01:00
mattijs
24fcef879d empty surface fields 2008-09-03 10:55:04 +01:00
Mark Olesen
6ffd5a3358 foamToEnsightParts updated
- handle new cloud locations, got missed before the release
  - handle multiple clouds
  - more efficient checking of fields etc.
  - write case file at the end, thus we can potentially
    do something more intelligent about the time set handling
2008-08-05 20:32:23 +02:00
Mark Olesen
5e5b26edd5 update dictionary headers and FoamFile entry to 1.5 format 2008-07-14 14:50:35 +02:00
Mark Olesen
ff2040f26f fixup copyright dates 2008-07-14 14:49:20 +02:00