Commit Graph

190 Commits

Author SHA1 Message Date
Henry
830c0ef382 Thermodynamyics: rename basicThermo -> fluidThermo and veryBasicThermo -> basicThermo 2012-08-23 14:13:13 +01:00
Henry
09aa9fbeb2 rhoPorousMRFSimpleFoam: Changed to rhoThermo
Also renamed addEnthalpySource -> addEnergySource
2012-07-16 09:49:04 +01:00
Henry
dead8ec098 Thermodynamics: Rationalization
At the specie level:
    hs = sensible enthalpy
    ha = absolute (what was total) enthalpy
    es = sensibly internal energy
    ea = absolute (what was total) internal energy

At top-level
    Rename total enthalpy h -> ha
    Rename sensible enthalpy hs -> h

Combined h, hs, e and es thermo packages into a single structure.

Thermo packages now provide "he" function which may return either enthalpy or
internal energy, sensible or absolute according to the run-time selected form

alphaEff now returns the effective diffusivity for the particular energy which
the thermodynamics package is selected to solve for.
2012-05-30 15:21:32 +01:00
Henry
63da3e9afc Thermodynamics: Rationalization
At the specie level:
    hs = sensible enthalpy
    ha = absolute (what was total) enthalpy
    es = sensibly internal energy
    ea = absolute (what was total) internal energy

At top-level
    Rename total enthalpy h -> ha
    Rename sensible enthalpy hs -> h

Combined h, hs, e and es thermo packages into a single structure.

Thermo packages now provide "he" function which may return either enthalpy or
internal energy, sensible or absolute according to the run-time selected form

alphaEff now returns the effective diffusivity for the particular energy which
the thermodynamics package is selected to solve for.
2012-05-30 15:19:38 +01:00
Henry
e5cd8fff64 compressible solvers: renamed Kp -> Ekp (kinetic + pressure energy) 2012-05-04 16:20:11 +01:00
Henry
50cccded84 Updated headers 2012-05-04 14:48:57 +01:00
Henry
e156d19610 rhoSimpleFoam family: updated to use e rather than h 2012-05-04 14:48:46 +01:00
Henry
476b39d5a1 Updated header 2012-05-03 15:14:41 +01:00
Henry
2e09a6628e sonicLiquidFoam: Updated pressure equation to use Dp 2012-05-03 15:14:32 +01:00
Henry
0471d9cb27 Updated headers 2012-05-03 14:15:24 +01:00
Henry
b55941c07f compressible solvers: Name pressure diffusivity Dp 2012-05-03 14:15:15 +01:00
Henry
26c9d330e7 rhoPimplecFoam: New compressible solver featuring PIMPLEC 2012-05-03 14:14:40 +01:00
Henry
ac9203e1b8 rhoSimplecFoam: Added coupled-patch handling to H1 to support parallel running 2012-05-02 10:53:29 +01:00
Henry
be78e2026e rhoSimplecFoam: Update header 2012-04-04 17:43:09 +01:00
Henry
e8bdf072fe rhoSimplecFoam: Update wrt latest relaxation strategy and move into rhoSimpleFoam 2012-04-04 17:42:44 +01:00
Henry
405ed91b21 rhoCentralFoam: corrected reading of Pr 2012-03-22 09:49:47 +00:00
andy
912a20b7a3 ENH: Propagated caching of HbyA across solvers 2012-03-02 18:15:54 +00:00
Henry
c079821318 rhoCentralDyMFoam: Improved the handling of relative fluxes and corrected the pressure-work term 2011-12-29 23:48:09 +00:00
Henry
411db54faa sonicDyMFoam: Corrected pressure-work for mesh motion 2011-12-29 23:47:54 +00:00
Henry
dc810ea88d Thermodynamics: Completed most of the conversion of the enthalpy source 2011-11-23 16:56:13 +00:00
Henry
96068a670d Thermodynamics: Changed h-eqn to conserve total energy 2011-11-22 17:54:13 +00:00
andy
68a87d891b Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2011-11-16 12:37:24 +00:00
Henry
52d5a8832d rhoCentralFoam: Corrected update of phi 2011-11-16 12:26:45 +00:00
andy
84ad94a455 ENH: pimple solvers: no longer update U in UEqn unless specifying a momentum predictor 2011-11-15 16:13:53 +00:00
andy
9ddb63713c BUG: pimple solvers were using nCorrPIMPLE instead of nCorrPISO in pEqns 2011-11-03 09:53:10 +00:00
andy
ca3ec6ebcb ENH: Updated SIMPLE solvers to new simpleControl framework 2011-10-26 14:31:57 +01:00
andy
d05c5a41a1 ENH: Updated PIMPLE solvers to new pimpleControl framework 2011-10-26 12:04:25 +01:00
andy
19bf53f32e STYLE: use simpleControl/pimpleControl in createFields etc - Reported by Mark Olesenm 2011-09-27 15:56:25 +01:00
andy
1c1a98363c ENH: Simplified solvers - removed storePrevIter code 2011-09-08 12:04:15 +01:00
andy
bc952e63de ENH: storePrevIter now handled by solutionControl class 2011-09-08 11:42:05 +01: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
Henry
d1a8375816 wmake options files: corrected EXE_LIBS -> LIB_LIBS 2011-06-27 16:58:58 +01:00
Sergio Ferraris
e06306b798 BUG: If refGrad and refValue are in the init fiel read them otherwise
set the BC to fixedValue using refValues as values
2011-06-09 16:36:55 +01:00
Sergio Ferraris
d6e24bb668 BUG: Missing complete re-start for mixed BC 2011-06-09 15:48:04 +01:00
andy
89335fa1ce ENH: Further solver PIMPLE updates 2011-04-18 11:47:44 +01:00
andy
656bbf5308 ENH: Updated solvers to use simpleControl and pimpleControl 2011-04-14 17:45:20 +01:00
andy
fb11f37e38 ENH: Propagating pimpleControl across pimple-based solvers 2011-04-13 17:20:29 +01:00
Henry
a76953302a Porous solvers: corrected change to ddt 2011-03-31 18:00:39 +01:00
Henry
3c2c3650d4 LTSInterFoam, rhoPorousMRFLTSPimpleFoam: set the name of the old-time rDeltaT
to avoid the registration of rDeltaT being pinched
2011-03-31 11:55:41 +01:00
Henry
57470a3850 rhoPorousMRFLTSPimpleFoam: Corrected for SP compilation 2011-03-30 17:57:42 +01:00
Henry
81c63d9949 rhoPorousMRFLTSPimpleFoam: corrected for SP compilation 2011-03-30 17:55:57 +01:00
Henry
fffe67d45f Porosity: Temporarily disable pZones.ddt(rho, U) while the term is being investigated 2011-03-30 16:24:35 +01:00
Henry
b33c31ebf1 rhoPorousMRFLTSPimpleFoam: Added porosity and MRF support in rhoLTSPimpleFoam 2011-03-30 15:43:23 +01:00
Henry
5b4cd73e55 PIMPLE: Rationalised loop structure
Automated the caching of "finalIteration".
2011-03-26 21:48:15 +00:00
andy
ab95424f8b Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-25 14:44:39 +00:00
Henry
a4e25e5155 rhoLTSPimpleFoam: New solver and test case.
Supports local time-stepping for steady solution.
2011-03-25 14:25:06 +00:00
andy
6f47073d34 ENH: Removed unnecessary ()'s 2011-03-24 14:39:41 +00:00
Henry
76981e8770 rhoPorousMRFSimpleFoam: Added MRF support to rhoPorousSimpleFoam 2011-03-17 16:03:06 +00:00
Henry
230f903f06 Corrected change date 2011-03-17 15:09:23 +00:00
Henry
80393339a9 Upgrade of compressible solvers merging in developments from OpenFOAM-1.7.x 2011-03-17 15:03:15 +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
da439f5484 STYLE: consistent naming for templated/non-templated patch field construction
eg,
    - makePatchTypeField -> makeTemplatePatchTypeField
    - makeNonTemplatedPatchTypeField -> makePatchTypeField
2010-12-30 09:36:09 +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
Mark Olesen
0ff0b5cb86 COMP: avoid ambiguous construct from tmp - solvers/ compressible 2010-12-21 09:50:07 +01:00
Mark Olesen
ce7694efcc STYLE: add trailing ';' after makePatchTypeFieldTypedefs 2010-12-17 09:40:02 +01:00
Henry
834aee9965 GeometricTensorField: added transpose function to support a tmp argument.
Use new "T" function to avoid duplicate registration of grad(U) object.
2010-12-12 21:39:15 +00:00
Henry
8490014bf6 rhoSimplecFoam: further developments
not entirely satisfactory
2010-11-12 12:13:28 +00:00
Henry
b7705de2ef Deleted rhoSonicFoam and rhopSonicFoam 2010-10-12 14:48:13 +01:00
Henry
eb51614780 Renamed rUA -> rAU 2010-10-11 20:10:34 +01:00
andy
7600cfc48d ENH: Converting limiting from pMin to rho min/max for rho[Simple/Pimple/Simplec] solvers 2010-10-08 17:41:52 +01:00
andy
88f0f2e4a3 ENH: simpleFoam, rhoSimpleFoam and porousSimpleFoam updates 2010-10-08 14:38:03 +01:00
andy
29e4855042 ENH: Updated rhoPorousSimpleFoam solver 2010-10-07 17:16:54 +01:00
mattijs
19b90937f9 ENH: (andy as mattijs) header file clean-up 2010-08-03 14:39:42 +01:00
andy
ae30b33e19 STYLE: code clean-up and dummy git push for mattijs 2010-08-03 14:17:56 +01:00
mattijs
9e7cb86097 ENH: proper restart for maxWellU bc 2010-08-03 14:07:16 +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
f26b8c1cc7 STYLE: 80 char lines. 2010-07-28 16:42:53 +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
mattijs
f6670f8dec COMP: Make/options added indirect libs for Solaris linker. 2010-07-15 09:38:52 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
f1ee573aa0 Merge branch 'inotify'
Conflicts:
	TODO
2010-06-02 10:10:52 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
henry
361b153343 Final iteration information now available in mesh::data (used to be mesh::fvData)
Relaxation and solution parameters for the final iteration in PIMPLE loops are
now selected according to the value of the "finalIteration" entry in the
mesh::data dictionary.

rhoPimpleFoam significantly updates and now replaces rhoPisoFoam.
2010-05-25 18:45:25 +01: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
9525d57d71 STYLE: use readIfPresent instead of found/lookup combination 2010-05-20 08:52:45 +02:00
Mark Olesen
227631742d ENH: add const-ness to pressureImplicitPorosity control 2010-05-20 08:42:07 +02:00
henry
48feefd127 rhoCentralDyMFoam: Now a "sub-application" of rhoCentralFoam
This cleans-up the dependencies between these two applications.
2010-04-26 12:25:32 +01:00
andy
a54c657391 Merge branch 'olesenm' 2010-04-23 14:40:48 +01:00
Mark Olesen
03338b9ea9 STYLE: partial revert for 5cfa97624e 2010-04-23 10:23:08 +02:00
henry
474b810dc1 rhoCentralDyMFoam: Dynamic mesh version of rhoCentralFoam 2010-04-22 16:37:54 +01:00
mattijs
5080bd3237 STYLE: convert to new time loop structure 2010-04-15 11:58:33 +01:00
henry
d4d0b88988 fvData: New database (dictionary) held on the fvMesh to store residual information etc.
This data can be used for convergence testing e.g. by a functionObject.
Other data could also be stored, e.g. global continuity errors and other reduced results.
2010-04-07 15:40:52 +01:00
henry
ed8fb0aa99 UEqn: Removed "Sp" term from the momentum equation of the steady-state solvers.
It is not clear that this "correction" term has provided any benefit and there
are cases for which it has proved detrimental to stability and convergence.
2010-04-06 16:28:59 +01:00
henry
a5d03f9ba3 rhoSimpleFoam: Improved stability by limiting the changes in rho
and formulating the enthalpy sources consistently.
2010-03-31 14:35:51 +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
henry
4f926a376f New solver: rhoPorousMRFPimpleFoam
Added compressibility support to MRFZone.
Required generalisation of the oneField concept.
Also clean-up the use of one and zero for consistency.
Simple mixerVessel2D tutorial case supplied.
2010-03-19 17:54:35 +00: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
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
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
henry
06eb5b7477 Added preliminary version of the rhoSimplecFoam code and tutorial case.
This currently only runs in serial, parallelisation is worked on.
2009-11-25 11:59:19 +00:00
graham
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
henry
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
henry
5467d69f5b Corrected handling of density. 2009-09-10 22:43:48 +01:00
henry
42162f27b7 Added basic support for thermal effects in porous zones.
Currently the only supported model is fixing the temperature within the porous zone to a fixed value.
2009-09-09 21:55:55 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
Chris Greenshields
34f758b9f7 Changed rhoCentralFoam to be e-based 2009-07-24 15:51:07 +01:00