Commit Graph

654 Commits

Author SHA1 Message Date
andy
837bc0a249 moved global parameters back to the top of the GUI panel 2008-08-06 10:12:08 +01:00
Mark Olesen
de195bf1fd PV3FoamReader - minor changes
- remove TimeRange property from XML. Not needed for discrete time data
  - represent Lagrangian data as VTK_VERTEX for simple visualization
2008-08-05 21:41:47 +02: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
a9b8a507e7 Merge commit 'OpenCFD/master' into olesenm 2008-08-04 18:24:41 +02:00
Mark Olesen
22a13ea28b PV3FoamReader - tooltips and reclaim memory if mesh caching is turned off 2008-08-04 18:23:10 +02:00
Mark Olesen
062bb36693 PV3FoamReader - code cleanup
- streamlined code somewhat, minor attempt to reclaim some memory
 - now use "mesh parts" for patches/zones/sets/etc throughout to avoid
   ambiguity with mesh regions
 - collect superCells and addPointCellLabels in a class. The old version
   actually seemed to have overwritten the addPointCellLabels with each
   cellSet/cellZone. This means that part of the pointFields would be trashed
   in the combination of polyhedral cells, cellSets/cellZones and internalMesh
 - polyDecomp information for muitiple mesh regions, but not yet exploited
 - pointFields now working for cellZones/cellSets
 - extroplating fields onto walls also works as expected for interpolated
   pointFields
 - added tooltips to reader GUI

TODO:
 - pointFields (real and interpolated) for faceSets/faceZones
2008-08-03 14:17:25 +02:00
Mark Olesen
775ef2c843 PV3FoamReader improvements
- various GUI properties are now animateable="0"
    (meaning they no longer show up on the time-line)
  - move reader switches to the bottom of the GUI
  - move Lagrangian fields above pointFields for better visibility
  - basic support for multiple clouds
  - filter fields based on selection before looping over all the geometry bits
  - mesh conversion functions now return VTK mesh types for easier handling
  - faceZones mesh conversion had points/faces allocation reversed
  - updateInfo with every call to setTime() that changes the timeIndex
    This seems to be the only way to notice Lagrangian fields
  - restore displaying patchnames that got forgotten in the last commit
  - misc reorganization
2008-08-02 16:05:22 +02:00
Mark Olesen
fa0b034338 PV3FoamReader - neater multiblocks and dual output ports
- normal mesh data on port0
  - Lagrangian data on port1
  - no fixed block numbers for dividing internalMesh, patches, zones etc.
    This helps avoid ugly gaps in the multiblock output
  - avoid segfault if Lagrangian fields are converted without positions

  TODO:
  - can we label the output ports?
  - the selection of Lagrangian data and fields is wonky.
2008-08-01 20:04:38 +02:00
mattijs
eb562dfdc6 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-30 16:28:43 +01:00
Mark Olesen
5d715694dd PV3FoamReader fixes
- added printMemory() method to aid debugging memory used
  - call UpdateInformation() if the mesh has changed
  - automatic activation of "internalMesh", "p", "U"
    is suppressed if a fvMesh is cached. Otherwise,
    appearing/disappearing volFields can cause a crash

  Note:
  The message "had to make up a selection value" that sometimes occurs
  seems to be paraview related (see paraview mailing list),
2008-07-30 15:50:30 +02:00
andy
ce111a8954 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-30 10:43:47 +01:00
Mark Olesen
f8b2746327 PV3FoamReader reorganization
- vtkPV3Foam get PrintSelf (reduces number of methods)
  - move output data member from vtkPV3Foam -> PV3FoamReader
    in preparation for rewriting output method
  - roughed in code to track mesh/field changes in preparation for rewriting
    output method
  - progress bar with arbitrary values to give the user something to watch
2008-07-28 13:36:23 +02:00
andy
6663702c45 cleaned up output message (removed dims etc) 2008-07-25 18:01:06 +01:00
Mark Olesen
07d8a616f8 minor cleanup of Allwmake
- Remove paraFoam/Allwmake leftover junk
  - Always attempt make of libccmio to ensure lnInclude/ exists
2008-07-25 16:04:32 +02:00
Mark Olesen
3cdc8ca03c static label Time::findClosestTimeIndex(const instantList&, const scalar)
- avoid code duplication in vtkPV3Foam.C and checkTimeOption.H
  - can also be used in Time::findClosestTime(), but didn't touch that
2008-07-25 15:37:38 +02:00
Mark Olesen
8a2596a05c PV3FoamReader repaired several misfeatures
- On the first call, select 'internalMesh' and the 'p', 'U' fields.
    This corresponds to a fairly common default case without loading all
    possible fields etc.
  - Include zones should now work without issuing a FatalError when the
    corresponding files are missing. I must have tried too many things
    at once and didn't notice this before.
  - Use ZoneMesh for zone names if the fvMesh is already cached
    (skips re-reading the same files).
  - Change reader description to "OpenFOAM Reader" to distinguish it a bit
    from the vtkOpenFOAMReader built into paraview/vtk
  - Misc. file and method names reorganized

  - Remaining problem:
    mixing internalMesh and cellZones is clunky since there aren't yet
    interpolated point values for cellSets/cellZones. Paraview complains
    about the mismatch, but extracting a block is still okay.

  TODO:
  - multi-port output for Lagrangian
  - hold all the vtk mesh parts (including multiblock) and just pass the
    reference. With this, the pipeline might notice that the geometry is
    actually identical and skip the PVGeometryFilter that takes so long.
2008-07-25 10:46:10 +02:00
Mark Olesen
af5674aca5 PV3FoamReader - remove old time-selection arrays 2008-07-24 15:58:59 +02:00
Mark Olesen
b43378747a Merge commit 'OpenCFD/master' into olesenm 2008-07-23 13:41:51 +02:00
Mark Olesen
dcdce31460 paraview reader: export modified FOAM_CASE for parallel sub-cases 2008-07-23 09:59:41 +02:00
Mark Olesen
04f065cf4c fix PV3FoamReader to restore mesh caching
previous disabling of the TimeSelection arrays [commit c52b20b..]
resulted in the mesh caching being disabled :(

Simplified code is enabled/disabled by PV3FOAM_TIMESELECTION define.
Might be removed in the future.
2008-07-22 16:26:03 +02:00
Mark Olesen
202570dce4 renamed ensight76FoamExec -> ensightFoamReader for consistency 2008-07-22 14:52:57 +02:00
Mark Olesen
e629d33a08 paraview reader: export FOAM_CASE env variable 2008-07-22 13:07:45 +02:00
Mark Olesen
85c164340e Added IOobject::readOption to IOOutputFilter
- allows post-processing functions with an optional dictionary
   (eg, the developer can hard-wire some defaults)
2008-07-21 16:40:05 +02:00
andy
3c07d20652 more fixing... removed epsilon - this utility needs a serious re-write 2008-07-18 11:41:21 +01:00
andy
a02890a972 changed R -> UPrime2Mean to comply with fieldAverage function object field output 2008-07-18 11:14:57 +01:00
andy
0b7c46f0d6 updated umean as in previous commit, but all this code is commented??? to be tidied/removed??? 2008-07-18 10:14:56 +01:00
andy
e3f44132cf updated Umean -> UMean to comply with fieldAverage function oject 2008-07-18 09:54:36 +01:00
andy
ced9f11065 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-17 16:17:25 +01:00
andy
64a1f7cbde fix for cyclic boundary handling 2008-07-17 16:15:42 +01: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
Mark Olesen
f17c95cbff Merge commit 'OpenCFD/master' into olesenm 2008-07-09 11:44:45 +02:00
mattijs
e3e2b91823 Not use .foam extension 2008-07-09 09:35:14 +01:00
Mark Olesen
8b4e098813 Merge commit 'OpenCFD/master' into olesenm 2008-07-07 08:22:16 +02:00
Mark Olesen
c7a7dc443c extended the conversion library and utilities
library:
  * routines for managing cellTable and boundaryRegion
  * writing ensight files and parts
  * mesh reader/writer for STARCD

utils:
  * star4ToFoam
  * foamToStarMesh
  * foamToEnsightParts
2008-07-04 16:26:22 +02:00
andy
8d1adca1e7 bug fix - correcting my earlier error... 2008-07-04 13:28:55 +01:00
andy
02fb293fcf moved a couple of comments to inside debug statements 2008-07-03 16:58:25 +01:00
andy
d23666042f general clean-up, and renamed filename extension to avoid conflict with internal reader 2008-07-03 14:35:00 +01:00
mattijs
a14a0d1a91 mesh changes with pointmesh 2008-07-01 19:42:17 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
mattijs
e684296bc1 build options 2008-06-25 09:31:10 +01:00
henry
b2b5ace228 Corrected for turbulence library name-change 2008-06-20 21:34:05 +01:00
andy
1186749707 updated to reflect changes in turbulence models 2008-06-20 17:23:59 +01:00
andy
6e07a1511f updated to reflect changes in turbulence models 2008-06-20 15:13:10 +01:00
andy
b3cb7c3dd3 created incompressible namespace for incompressible LES models 2008-06-18 17:43:42 +01:00
andy
2b01d2f5da consistency update - (in)compressibleTurbulenceModels -> (in)compressibleRASmodels 2008-06-18 10:06:06 +01:00
andy
f4b2b04f58 consistency update 2008-06-17 17:28:12 +01:00
andy
24c4b1b745 relocation of turbulence models and renaming namespaces 2008-06-17 10:48:04 +01:00
andy
c52b20b10d Updating time selection 2008-06-16 11:30:13 +01:00
andy
b01662afe8 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-06-16 10:39:02 +01:00
andy
750a8c78ad updated to incorporate particle post-processing 2008-06-16 10:37:57 +01:00
henry
39c13e3bc8 Corrected Application name. 2008-06-13 20:14:14 +01:00
henry
47996ef186 Removed all warnings from gcc-4.3.0 except those from
NamedEnum (bug in compiler?)
molecule (Graham dealing with it)
lex (no comment)
VTK (again no comment)
2008-06-11 15:55:07 +01:00
henry
d325f236b1 Changed Type to Typedef and added Foam:: to the typename in the headers. 2008-06-10 17:03:05 +01:00
andy
56878a9fc7 changed point field data again - no need to use anything other than fieldname (removed vpi prefix) 2008-06-10 14:48:39 +01:00
andy
5b92011d93 changed volPointInterpolate() labels to vpi() 2008-06-10 11:27:31 +01:00
henry
6fffe6ff3f New foamToEnsight with support for binary files contributed by Francesco. 2008-06-09 13:39:39 +01:00
henry
91c5607c97 Mark's correction to the building of libccmio.so 2008-06-09 13:37:13 +01:00
andy
11db15e82c re-labelling read sets/zones 2008-06-06 16:39:37 +01:00
andy
7cc0520c36 update to remove gcc4.3.0 warning messages 2008-06-04 19:13:23 +01:00
andy
168c7e1ca9 removing FoamX 2008-06-04 13:40:02 +01:00
mattijs
2f6a6be48b region lagrangian handling 2008-05-29 13:25:51 +01:00
andy
039adebb14 added new div postprocessing function, and removed old divPhi and divU apps 2008-05-28 19:21:29 +01:00
andy
1e3f9823c0 new foamCalc app and foamCalcFunctions lib, to eventually replace current postProcess functionality 2008-05-28 18:46:02 +01:00
andy
a7a97ca865 re-location of PV3FoamReader 2008-05-28 09:48:46 +01:00
henry
bf7959d2c8 Correctinons to the wmake options to pick-up the ParaView headers 2008-05-27 19:30:59 +01:00
andy
46f84af1ea updating PV3FoamReader with Mark's version 2008-05-27 14:23:21 +01:00
Mark Olesen
0b9c6cace3 Merge commit 'origin/master' into olesenm 2008-05-27 09:57:59 +02:00
henry
c48a0638af Temporary fix to allow the reader module to build for ParaView-3.3-cvs 2008-05-26 23:37:28 +01:00
henry
a016fa314e Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev/ 2008-05-25 19:44:52 +01:00
henry
28ac22a30e Removed #.*# 2008-05-25 17:05:26 +01:00
andy
0f1e9328a9 removed magGradU application - functionality now in generic magGrad utility. Also removed x permissions to the molConfig utility 2008-05-23 17:49:15 +01:00
Mark Olesen
8e2182dd69 Merge commit 'origin/master' into olesenm 2008-05-23 18:26:11 +02:00
mattijs
5ac0657b6f new and better components 2008-05-23 16:39:09 +01:00
Mark Olesen
6441a23cd0 minor adjustments to paraview Allwmake scripts 2008-05-23 14:14:27 +02:00
Mark Olesen
bbc69a464e ignore #filename# auto-save files 2008-05-23 14:02:51 +02:00
mattijs
e2ee122a02 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev/ 2008-05-23 11:06:51 +01:00
mattijs
ffa939952c subsetting point fields 2008-05-23 11:06:43 +01:00
andy
4e787f11fe consisteny update 2008-05-22 17:05:13 +01:00
andy
6342010a89 updated magGrad utility, and separated out template functions 2008-05-22 17:03:25 +01:00
mattijs
36ea34fbb6 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev/ 2008-05-22 13:34:51 +01:00
andy
b5a7c032c6 added total patch area info statement 2008-05-21 18:11:52 +01:00
Mark Olesen
e9876723e6 Adjust some utilities to use postCalc wrapper or timeSelector directly.
When required, also adjusted to use XXXApp.C for the source name.
Adjusted some names in preparation for merge with master.
2008-05-21 10:19:23 +02:00
mattijs
628c19fa63 emacs leftover 2008-05-20 19:52:57 +01:00
andy
dd0def28ca removing redundant functionality 2008-05-20 13:34:48 +01:00
andy
ad148d718e adding magSqr post-processing utility 2008-05-20 13:17:51 +01:00
andy
dc24b8be82 adding mag post-processing utility 2008-05-20 13:14:57 +01:00
andy
9c92a12cfe adding (missing) tensor functionality 2008-05-20 12:20:10 +01:00
andy
29cf5c8eb2 adding components utility 2008-05-20 12:11:07 +01:00
andy
31cea98bda added surfaceScalarField functionality 2008-05-16 15:39:14 +01:00
henry
bc834372f1 Correction to output 2008-05-15 16:54:11 +01:00
henry
ec7ebbd7d9 Reformatted 2008-05-13 17:01:13 +01:00
henry
bffb453c45 Rename checkYPlus to yPlusRAS for consistency with yPlusLES 2008-05-13 16:16:32 +01:00
henry
a6c18c36e8 Made yPlusLES and checkYPlus more consistent 2008-05-13 16:09:54 +01:00
andy
ea3aa9668b re-locating field average library 2008-05-12 17:48:01 +01:00
andy
a6bab68565 adding new fieldAverage function object 2008-05-12 15:33:53 +01:00
andy
68f62c3bc9 enabled block/dataset names to be added/shown in the PV reader module 2008-05-09 13:04:25 +01:00
Mark Olesen
6179a6fd5a checkin paraview3.3 reader as 'work-in-progress' 2008-05-08 15:20:57 +02:00
mattijs
0438a98c74 Corrected patch cell numbering 2008-05-06 09:30:27 +01:00
henry
23fb767059 Correct location of sampling 2008-05-02 13:11:50 +01:00
henry
0e5a8b809e Updates 2008-05-01 17:02:29 +01:00
henry
cd161a3385 Updated PV3Foam reader 2008-05-01 15:39:17 +01:00
mattijs
c731cfdca4 initial mattijsLib merge 2008-04-23 15:51:54 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00