Commit graph

104 commits

Author SHA1 Message Date
Robert Keser
0affdbfe19 Transition to cmake build system (added dbns and minor changes) 2018-05-23 15:27:30 +02:00
Henrik Rusche
3abb7c9f7b Enabled paraview plugin and out-of-source compilation 2018-05-23 15:27:30 +02:00
Henrik Rusche
48926a792f Transition to cmake build system (most libs and utils & some apps compile) 2018-05-23 15:26:37 +02:00
Hrvoje Jasak
7a54aeb99b Merge branch 'feature/JasakDevelopment' into nextRelease 2018-05-15 12:00:02 +01:00
Martin Beaudoin
f54d1bf5f1 Fixes for compiling 4.1 on macOS. 2018-02-22 21:13:06 -05:00
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
Hrvoje Jasak
e83fcedb06 Merge commit '9fbf8f1bfce0b178d61be485fac02007bf9c8b77' into geometricImmersedBoundary 2017-12-30 09:37:29 +00:00
Hrvoje Jasak
08ed1153cf Stability improvement: reset pcorr 2017-12-30 09:34:52 +00:00
Inno Gatin
878722b100 Richards Equation solver: porous soil transport 2017-04-24 13:39:41 +02: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
Hrvoje Jasak
ba5893ba4a Formatting 2017-03-30 10:34:18 +01:00
Hrvoje Jasak
195f5b6094 Bugfix: Formatting 2017-02-13 16:10:53 +00: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