Commit graph

94 commits

Author SHA1 Message Date
Henrik Rusche
67ab0b5abd Vanilla backport
- in FOAM library
updated containers
backported PackedBoolList, hashedWordList, nullObject, wordRe,
backported functions to
backported int32 support
backported tableReaders
backported Function1, TimeFunction1
backported dynamicCode (for codedBCs, ...) -- needs to be mapped out
advanced error macros (FatalIOErrorInFunction, ...) -- needs to be mapped out
backported IOobject::MUST_READ_IF_MODIFIED and added IOobject::READ_IF_PRESENT_IF_MODIFIED (only in FO)

- in postProcessing
backported IO FOs (partialWrite, removeRegisteredObject, writeDictionary, writeRegisteredObject)
backported field FOs (fieldCoordinateSystemTransform, fieldValues, nearWallFields, processorField, readFields, regionSizeDistribution, streamLine, wallBoundedStreamLine)
backported fvTools FOs (calcFvcDiv, calcFvcGrad, calcMag)
backported jobControl FOs (abortCalculation)
backported utilities FOs (ourantNo, Lambda2, Peclet, Q, codedFunctionObject, pressureTools, residuals, scalarTransport, setTimeStep, timeActivatedFileUpdate, turbulenceFields, vorticity, wallShearStress)
2018-02-16 15:07:55 +01:00
Hrvoje Jasak
88ba7f654f Merge commit '1e8dd2ecb10f97091b3a5fb5b1e8f8d1cbe06bb3' into nextRelease 2018-02-07 12:10:43 +00:00
Inno Gatin
2e10411141 Richards Equation solver: porous soil transport 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
16ea621887 Consistency update in solution control class:
The rewrite enables multiple pressure/velocity systems to be treated in a time
and under-relaxation consistent way (useful for multiphase flows).
2017-04-20 08:24:25 +02:00
Vuko Vukcevic
5ba5d4ab07 Consistency update: simpleSRFFoam 2017-01-16 14:49:03 +01:00
Hrvoje Jasak
3d2d26334a Bugfix: added ramping to MRF zones 2017-01-11 11:57:48 +00:00
Hrvoje Jasak
bd5604c100 Clean-up and formatting 2017-01-11 11:57:28 +00:00
Hrvoje Jasak
7db1cb7a49 Merge branch 'PstreamUpdate' into development 2017-01-11 10:46:26 +00:00
Vuko Vukcevic
de26c7e804 Minor formatting 2017-01-09 16:28:44 +01:00
Vuko Vukcevic
ee8fe08c0d Bugfix in simpleFoam UEqn
Relaxing a copy of the momentum equation, not the original one.
2017-01-05 11:27:01 +01:00
Vuko Vukcevic
c66cc1f97d Consistency update: pisoFoam 2017-01-05 09:46:27 +01:00
Vuko Vukcevic
000ab4ecf4 Consistency update: pimpleFoam 2017-01-05 09:37:11 +01:00
Vuko Vukcevic
786aa16867 Consistency update: pimpleDyMFoam 2017-01-05 09:28:35 +01:00
Vuko Vukcevic
c64509944e channelFoam update
New signature of solutionControl::reconstructTransientVelocity
2017-01-05 09:27:46 +01:00
Vuko Vukcevic
b267ad83de Consistency update: nonNewtonianIcoFoam 2017-01-05 08:53:42 +01:00
Vuko Vukcevic
27a23484fa Consistency update: icoDyMFoam 2017-01-05 08:46:51 +01:00
Vuko Vukcevic
bc6282301e Consistency update: icoDyMSimpleFoam 2017-01-05 08:42:48 +01:00
Vuko Vukcevic
4031066a5a Changes in solutionControl::reconstructTransientVelocity
The function now takes care of making the flux relative if the mesh is moving.
This is necessary in order to consistently reconstruct the face velocity from
the flux and then call correctBoundaryConditions on U.
2017-01-04 16:22:27 +01:00
Vuko Vukcevic
cd4c08fedc Consistency update: channelFoam 2017-01-04 14:37:08 +01:00
Vuko Vukcevic
5d7793cf06 Consistency update: simpleFoam 2017-01-04 13:50:28 +01:00
Vuko Vukcevic
ed03625c8b Changes to solutionControl time consistency functions
I realised that we need separate treatment for transient and steady state
solvers (which do not have ddt equation). Hence, I provided necessary interface
and implementation for steady state solvers.
2017-01-04 13:48:17 +01:00
Vuko Vukcevic
49b13aa2b3 Updated ddtSchemes to handle time-consistency 2017-01-02 16:33:04 +01:00
Vuko Vukcevic
1acf0274ce Handling consistency in solutionControls class
Note: additional machinery to enable easy top-level calls for
time/under-relaxation consistency in segregated solution algorithms.
Does not compile: still missing functions in ddtSchemes
2016-12-23 14:53:52 +01:00
Vuko Vukcevic
9259021903 Top level changes to icoFoam
Note: intermediate step indicating desired top level code design. Does not
compile.
2016-12-23 08:04:42 +01:00
Hrvoje Jasak
aa518c6931 Added Urel for post-processing and function objects 2016-09-07 13:50:41 +01:00
Hrvoje Jasak
68401f7d4c Reorganise source code: pEqn.H and UEqn.H 2016-09-05 16:16:50 +01:00
Hrvoje Jasak
c113c6b774 Bugfix: consistent relaxation formulation in MRF 2016-09-05 16:14:51 +01:00
Hrvoje Jasak
65fff70134 Fix compilation error 2016-09-05 16:03:59 +01:00
Henrik Rusche
54c9f83b54 BUGFIX: simpleFoam compilation 2016-08-22 12:52:06 +02:00
Hrvoje Jasak
2e1ab51dbe Bugfix: consistent notation of 1/aP 2016-08-01 14:38:56 +01:00
Henrik Rusche
07e9416f30 Bump version in headers 2016-06-21 15:04:12 +02:00
Hrvoje Jasak
4f1adadf23 Changed turbulence model interface to remove non-const access to U 2016-06-06 14:59:41 +01:00
Hrvoje Jasak
0f2773bbda Bugfix: remove momentum equation from createFields.H 2016-05-31 19:26:40 +01:00
Henrik Rusche
f89267604a Work on relaxation factors 2016-05-30 09:57:48 +02:00
Henrik Rusche
c0dc374d98 Merge PISO/PIMPLE solver updates. Author: Vanja Skuric. Merge: Henrik Rusche
Conflicts:
	applications/solvers/compressible/rhoPorousMRFPimpleFoam/rhoPorousMRFPimpleFoam.C
	applications/solvers/compressible/steadyCompressibleFoam/pEqn.H
	applications/solvers/compressible/steadyCompressibleMRFFoam/createFields.H
	applications/solvers/compressible/steadyCompressibleMRFFoam/pEqn.H
	applications/solvers/compressible/steadyCompressibleSRFFoam/createFields.H
	applications/solvers/compressible/steadyCompressibleSRFFoam/pEqn.H
	applications/solvers/coupled/MRFPorousFoam/createFields.H
	applications/solvers/coupled/pUCoupledFoam/createFields.H
	tutorials/compressible/rhoPorousMRFPimpleFoam/mixerVessel2D/system/fvSolution
	tutorials/compressible/steadyCompressibleFoam/transonicBump/system/fvSchemes
	tutorials/compressible/steadyCompressibleSRFFoam/bentBlade/system/fvSchemes
	tutorials/compressible/steadyCompressibleSRFFoam/simpleBlade/system/fvSchemes
	tutorials/coupled/conjugateHeatFoam/conjugateCavity/system/fvSchemes
	tutorials/coupled/conjugateHeatSimpleFoam/conjugateCavity/system/fvSchemes
	tutorials/equationReader/equationReaderDemo/pitzDaily/system/fvSchemes
	tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/system/fvSchemes
	tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/fvSchemes
	tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/fvSchemes
	tutorials/incompressible/pUCoupledFoam/backwardFacingStepLaminar/system/fvSchemes
	tutorials/incompressible/pUCoupledFoam/backwardFacingStepTurbulent/system/fvSchemes
	tutorials/incompressible/pUCoupledFoam/cavity/system/fvSchemes
	tutorials/viscoelastic/viscoelasticFluidFoam/XPP_SE/system/fvSchemes
2016-05-29 16:37:07 +02:00
Vanja Skuric
b7c23999fc Small fixes and modifications to backports 2016-05-28 23:56:11 +02:00
Vanja Skuric
c4c31e738e Removed storePrevIter (not needed with simple/pimple/piso.loop()); changed runTime.loop() to simple.loop() in SIMPLE solvers 2016-05-26 23:06:01 +02:00
Vanja Skuric
5b31dad987 Fixed missing convergence criteria: runTime.loop() changed to simple.loop() 2016-05-26 10:43:27 +02:00
Henrik Rusche
ec515b441f Merged vanilla compatibility branch. Author: Henrik Rusche, FSB team. Merge: Henrik Rusche
Conflicts:
	applications/solvers/incompressible/channelFoam/channelFoam.C
	applications/solvers/incompressible/icoFoam/icoFoam.C
	applications/solvers/incompressible/nonNewtonianIcoFoam/nonNewtonianIcoFoam.C
	applications/solvers/incompressible/pimpleDyMFoam/UEqn.H
	applications/solvers/incompressible/pimpleDyMFoam/pimpleDyMFoam.C
	applications/solvers/incompressible/pimpleFoam/UEqn.H
	applications/solvers/incompressible/pimpleFoam/pEqn.H
	applications/solvers/incompressible/simpleFoam/UEqn.H
	applications/solvers/incompressible/simpleFoam/pEqn.H
	src/foam/fields/GeometricFields/GeometricTensorNFields/GeometricTensorNFields.H
	src/turbulenceModels/compressible/RAS/LRR/LRR.C
	src/turbulenceModels/compressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C
	src/turbulenceModels/compressible/turbulenceModel/laminar/laminar.C
	src/turbulenceModels/incompressible/LES/GenEddyVisc/GenEddyVisc.C
	src/turbulenceModels/incompressible/LES/Smagorinsky2/Smagorinsky2.C
	src/turbulenceModels/incompressible/LES/SpalartAllmaras/SpalartAllmaras.C
	src/turbulenceModels/incompressible/LES/kOmegaSSTSAS/kOmegaSSTSAS.C
	src/turbulenceModels/incompressible/LES/laminar/laminar.C
	src/turbulenceModels/incompressible/RAS/LamBremhorstKE/LamBremhorstKE.C
	src/turbulenceModels/incompressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C
	src/turbulenceModels/incompressible/RAS/LienCubicKE/LienCubicKE.C
	src/turbulenceModels/incompressible/RAS/NonlinearKEShih/NonlinearKEShih.C
	src/turbulenceModels/incompressible/RAS/RNGkEpsilon/RNGkEpsilon.C
	src/turbulenceModels/incompressible/RAS/SpalartAllmaras/SpalartAllmaras.C
	src/turbulenceModels/incompressible/RAS/coupledKEpsilon/coupledKEpsilon.C
	src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.C
	src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C
	src/turbulenceModels/incompressible/RAS/laminar/laminar.C
	src/turbulenceModels/incompressible/RAS/qZeta/qZeta.C
	src/turbulenceModels/incompressible/RAS/realizableKE/realizableKE.C
	src/turbulenceModels/incompressible/turbulenceModel/laminar/laminar.C
	tutorials/basic/laplacianFoam/Case1.1_mixingPlane_sector_AB_60deg/system/fvSchemes
	tutorials/compressible/dbnsFoam/forwardStep/system/fvSchemes
	tutorials/compressible/dbnsFoam/shockTube/system/fvSchemes
	tutorials/compressible/dbnsTurbFoam/naca0012/system/fvSchemes
	tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSchemes
	tutorials/immersedBoundary/backwardStepShortTurbulentSimpleIbFoam/system/fvSchemes
	tutorials/immersedBoundary/pitzDailyBodyFitted/system/fvSchemes
	tutorials/immersedBoundary/pitzDailyLaminarSimpleIbFoam/system/fvSchemes
	tutorials/immersedBoundary/pitzDailyTurbulentSimpleIbFoam/system/fvSchemes
	tutorials/immersedBoundary/porousBumpChannelBodyFitted/system/fvSchemes
	tutorials/immersedBoundary/porousBumpChannelIb/system/fvSchemes
	tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSchemes
	tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSchemes
	tutorials/incompressible/boundaryFoam/boundaryTwoWallsFlowSolution/system/fvSchemes
	tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSchemes
	tutorials/incompressible/channelFoam/channel395/system/fvSchemes
	tutorials/incompressible/icoFoam/elbow/constant/polyMesh/boundary
	tutorials/incompressible/pimpleDyMFoam/axialTurbine/system/fvSchemes
	tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSchemes
	tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSolution
	tutorials/incompressible/pimpleDyMFoam/movingCylinders/system/fvSchemes
	tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/constant/polyMesh/boundary
	tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSchemes
	tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/constant/polyMesh/boundary
	tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/fvSchemes
	tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion_snappyHexMesh/constant/polyMesh/boundary
	tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion_snappyHexMesh/system/fvSchemes
	tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes
	tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes
	tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes
	tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes
	tutorials/incompressible/porousSimpleFoam/angledDuctExplicit/system/fvSchemes
	tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/system/fvSchemes
	tutorials/incompressible/porousSimpleFoam/beaverJoseph/system/fvSchemes
	tutorials/incompressible/porousSimpleFoam/porousPlug/system/fvSchemes
	tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes
	tutorials/incompressible/simpleFoam/mixingPlaneDomADomB/system/fvSchemes
	tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
	tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes
	tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSchemes
	tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes
	tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes

Fixing compilation of DBNS
2016-05-25 10:31:13 +02:00
Henrik Rusche
b858c51ff2 Merge Request #30: Time consistent incompressible solvers. Author: Hrvoje Jasak. Merge: Henrik Rusche
https://sourceforge.net/p/foam-extend/foam-extend-3.2/merge-requests/30/

Conflicts:
	applications/solvers/incompressible/simpleFoam/pEqn.H
	applications/solvers/incompressible/simpleSRFFoam/simpleSRFFoam.C
	tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSchemes
	tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
2016-05-24 13:42:50 +02:00
Hrvoje Jasak
8cf4b6fcd5 Enable full gradient cacheing capability 2016-05-09 11:03:58 +01:00
Vanja Skuric
70a11cfd85 Backported simpleFoam and simpleSRFFoam (setFluxRequired, solutionControls) from vanilla 3.0.1 2016-05-07 09:06:25 +02:00
Vanja Skuric
d230fff954 Backported MRFSimpleFoam and porousSimpleFoam (setFluxRequired, solutionControl) 2016-05-07 08:38:01 +02:00
Vanja Skuric
1e8bd24dc7 Modified to work with backported createTimeControl.H from OF 3.0.1 2016-05-06 23:31:48 +02:00
Vanja Skuric
36b4fa3811 Backported createTimeControls.H and readTimeControls.H from OF 3.0.1, and pimpleDyMFoam 2016-05-06 22:11:03 +02:00
Vanja Skuric
a704cb308e Backported pimpleFoam (solutionControl and setFluxRequired) from OF 3.0.1 2016-05-06 15:55:13 +02:00
Vanja Skuric
0593778986 Added setFluxRequired to channelFoam, nonNewtonianIcoFoam, pisoFoam, shallowWaterFoam 2016-05-06 11:41:26 +02:00
Vanja Skuric
651abe67f1 Backported (solutionControl) channelFoam, nonNewtonianIcoFoam, pisoFoam, shallowWaterFoam solvers to OF 3.0.1 format 2016-05-06 11:11:54 +02:00
Henrik Rusche
3578d2650a Add setFluxRequired to simpleFoam 2016-04-15 22:48:26 +02:00
Henrik Rusche
ef3edbe2ba Add setFluxRequired to ico-Solvers 2016-04-15 22:44:26 +02:00