Commit Graph

448 Commits

Author SHA1 Message Date
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
a700e27f79 Merge branch 'master' into cvm 2009-11-23 19:53:45 +00:00
d0e866f2ca synchronise flipping on coupled boundaries 2009-11-21 10:53:36 +00:00
2ad1a75e2a Moving cvControls back to be initialised after the geometry and moving
the writeFeatureObj call out to the conformalVoronoiMesh constructor.
2009-11-20 17:48:37 +00:00
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
ff5a07a5a4 Moving the declaration and construction of the cvMeshControls_ object
before any other members are constructed, as the geometry members can
use controls.

Removing unused null constructor declaration.
2009-11-20 12:21:30 +00:00
cb683add44 Fixed typo in WarningIn message, was outputing name of variable rather
than value.
2009-11-20 11:18:28 +00:00
fc8d208461 Cleaning out unnecessary functions and commented out code. 2009-11-19 18:09:33 +00:00
10e79ba9a7 Mostly working iterative point merge and face collapse. Works fairly
well for small smallEdgeLengthCoeff values.

Still has commented out cruft present, to be removed:

 + assessFace (x2)
 + reindexDualFace
 + commented out sections in collapseFaces

Preserved in this commit for future reference.
2009-11-19 17:40:53 +00:00
6bfcb0ae24 Adding removeUnusedPoint function.
Adding WIP collapseFace function and while loop.
2009-11-17 19:51:29 +00:00
dc1cca0232 Changing the case of enumerations to mixed instead of uppercase. 2009-11-17 12:26:49 +00:00
8f4065051c Creating a buildDualFace function, using everywhere a dual face is
required.

Separating dual face creation into two loops - first one to loop over
the dual faces and collapse the points of those that are to be
removed, second one to create the faces that remain.
2009-11-16 18:54:15 +00:00
14675f23e0 Merge branch 'master' into cvm 2009-11-16 15:50:36 +00:00
5551e4ae68 Adding function for averageCellSize.
Commenting out edge filtering.

Added assessFace function to determine if the face is to be kept.
2009-11-13 18:46:03 +00:00
6ae8581d03 explicit constructor 2009-11-13 18:18:32 +00:00
2effa55026 Making the triggering of a block sort be on blockLength >= 1 rather
than blockLength > 1 so that ownerBlockStart is set correctly.
2009-11-12 15:46:06 +00:00
1ba6378c69 Fixing conflict and merging master. 2009-11-10 10:19:23 +00:00
cad5a703fc Merge branch 'olesenm' 2009-11-06 11:05:21 +00:00
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
151f30e779 made container constructors explicit 2009-11-03 18:09:52 +00:00
d34aee63ed Merge branch 'olesenm' 2009-10-27 11:50:12 +00:00
2f8f9f2782 further updates relating to commit 278e8c5030 2009-10-27 11:09:33 +00:00
7a3212825d curvedEdges - collapse unneed function 2009-10-27 08:57:21 +01:00
c100ffc957 Merge commit 'OpenCFD/master' into olesenm
Conflicts:
	src/OpenFOAM/matrices/simpleMatrix/simpleMatrix.C
	src/OpenFOAM/matrices/simpleMatrix/simpleMatrix.H
	src/mesh/blockMesh/curvedEdges/BSpline.C
	src/mesh/blockMesh/curvedEdges/spline.C
	src/mesh/blockMesh/curvedEdges/spline.H

- Also adjusted chemistrySolver/EulerImplicit/EulerImplicit.C
  to use simpleMatrix with initialized values
2009-10-27 08:29:33 +01:00
278e8c5030 Converted constant reference to primitive arguments to constant primitive arguments. 2009-10-26 22:45:21 +00:00
86c3affb5b Added initialising constructor and use it is the BSpline code. 2009-10-26 21:54:53 +00:00
b7cf30bdb4 simpleMatrix initialize with coefficients with 0.0
- the element of least surprise
2009-10-26 15:40:55 +01:00
79efd0a546 BSpline code cleanup 2009-10-26 13:59:50 +01:00
514914207a BSpline bugfix: initialize simpleMatrix with 0.0
- why doesn't simpleMatrix always do this?
2009-10-26 13:50:10 +01:00
664deb6a7e Adding sortFaces and addPatches function to handle these tasks. Using
better sorting functions (sortedOrder and inplaceReorder).  Optionally
not creating empty patches.
2009-10-23 18:27:18 +01:00
52136b9430 Moving conformalVoronoiMesh into src/mesh folder. 2009-10-21 17:21:06 +01:00
9221793088 Changing
deltaT().value() to deltaTValue()
and
    deltaT0().value() to deltaT0Value()
across the whole code - faster to return especially if being used
often, in each call to a submodel for example.
2009-10-21 16:36:07 +01:00
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
3c788010fb Merge commit 'bundle/olesenm' into home 2009-10-19 19:47:45 +02:00
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
1ef88a2aef blockMesh reader fix, start refactoring of PV3Readers
- apply scaleFactor (eg, mm->m) in PV3 reader - this looks better when
  overlaying with other objects

- stop segfault when paraview exits without deleting readers first
2009-10-18 17:50:41 +02:00
a8f7488e0f Merge branch 'olesenm' 2009-10-13 12:39:35 +01:00
84be998ebc Merge commit 'OpenCFD/master' into olesenm 2009-10-08 12:07:04 +02:00
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
33156d98dd blockMesh/curvedEdges misc. cleanup
- also sifted through code to find out why polySplineEdge is going wrong

  It doesn't seem to be a virtual/non-virtual issue, but appears to
  be an issue with how BSpline is solving for the new points.
2009-10-08 01:02:53 +02:00
4bc523b593 added curvedEdges::compare(const edge&) 2009-10-07 21:16:21 +02:00
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
fb527df51a added missing execute bit on src/mesh/Allwmake 2009-09-24 10:22:36 +02:00
ad5d10b817 Merge commit 'OpenCFD/master' into olesenm 2009-09-23 09:14:28 +02:00
97fb0c31a0 blockMesh: misc code cleanup 2009-09-21 19:43:05 +02:00
d37378acf4 relocate autoMesh -> mesh/autoMesh 2009-09-21 18:20:03 +02:00
0e5899b841 relocate autoMesh -> mesh/autoMesh 2009-09-21 13:07:40 +02:00
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