Commit graph

74 commits

Author SHA1 Message Date
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
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
Vanja Skuric
a4f12aeb44 Fixes for icoFoam, icoDyMFoam, icoDyMSimpleFoam, icoDyMEngineFoam, icoDyMIbFoam and icoIbFoam 2016-04-13 16:21:35 +02:00
Vanja Skuric
d870fbf964 Merge branch 'nextRelease' of ssh://turbo4.fsb.hr:2013/foam-extend into nextRelease
Merged with setFlux fix.
2016-04-12 10:30:36 +02:00
Vanja Skuric
c02b6c1750 Modified icoFoam, icoDyMFoam and icoDyMSimpleFoam to use solutionControl (vanilla 3.0.1) 2016-04-12 10:28:59 +02:00
Henrik Rusche
41ea052e7a Fixing compilation 2016-04-12 09:31:33 +02:00
Vanja Skuric
0927054bd9 Removed fvOptions.H from pisoFoam 2016-04-12 09:07:01 +02:00
Vanja Skuric
9213922a18 Modified pisoFoam according to vanilla 3.0.1 2016-04-09 22:55:19 +02:00
Henrik Rusche
42c61d36a3 Backport setReference from vanilla 3.0.1 2016-04-09 18:17:55 +02:00
Vuko Vukcevic
59b857165a incompressible/simpleSRFFoam, solver + tutorials 2016-04-08 15:19:19 +02:00
Vuko Vukcevic
fb2d756eba incompressible/simpleFoam, solver + tutorials 2016-04-07 15:39:09 +02:00
Vuko Vukcevic
3a0021239d incompressible/pimpleFoam, solver + tutorials 2016-04-05 15:08:06 +02:00
Vuko Vukcevic
74b90dd250 incompressible/pimpleDyMFoam, solver + tutorials 2016-04-05 14:06:15 +02:00
Vuko Vukcevic
edb598687a incompressible/channelFoam, solver + tutorials 2016-04-05 13:53:56 +02:00
Vuko Vukcevic
1670cebef1 incompressible/nonNewtonianIcoFoam, solver + tutorials 2016-04-05 12:55:56 +02:00
Vuko Vukcevic
db568490b7 incompressible/icoFoam, solver + tutorials 2016-04-05 11:23:41 +02:00
Hrvoje Jasak
2d5052d714 Temporary: consistent solver examples 2016-03-16 17:49:11 +00:00
Hrvoje Jasak
65bf8f3d5d Formatting 2016-01-05 15:21:00 +00:00
Hrvoje Jasak
cb626ee77b Comments 2015-08-06 10:02:33 +01:00
Henrik Rusche
0a02a92e53 Upgrade copyright notices & banner in source code 2015-05-17 15:58:16 +02:00
Hrvoje Jasak
aac5de5e16 Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
Henrik Rusche
15b4256033 STYLE: Quench compiler warnings 2013-11-30 15:32:37 +01:00