FSI minor fixes regarding backports

This commit is contained in:
Vanja Skuric 2016-06-09 12:38:12 +02:00 committed by Hrvoje Jasak
parent 373ac3a85c
commit 33cb35f402
7 changed files with 11 additions and 11 deletions

View file

@ -57,7 +57,7 @@ echo ========================================
echo echo
# Eigen # Eigen
if [ -d $(WM_THIRD_PARTY_DIR)/packages/eigen3 ] if [ -d $WM_THIRD_PARTY_DIR/packages/eigen3 ]
then then
echo "eigen3 found." echo "eigen3 found."
else else
@ -68,9 +68,6 @@ else
\rm -f 3.2.8.tar.gz \rm -f 3.2.8.tar.gz
\mv eigen-eigen-07105f7124f9 ./packages/eigen3 \mv eigen-eigen-07105f7124f9 ./packages/eigen3
fi fi
fi
echo ======================================== echo ========================================
echo Done ThirdParty AllMake: Stage3 echo Done ThirdParty AllMake: Stage3

View file

@ -3,6 +3,9 @@ set -x
wmake libso fluidSolidInteraction wmake libso fluidSolidInteraction
# Create Eigen soft link
ln -srf ../../../ThirdParty/packages/eigen3/Eigen/ fluidSolidInteraction/lnInclude/
wmake solvers/fsiFoam wmake solvers/fsiFoam
wmake solvers/ampFsiFoam wmake solvers/ampFsiFoam
wmake solvers/weakFsiFoam wmake solvers/weakFsiFoam

View file

@ -308,7 +308,7 @@ void pisoFluid::evolve()
( (
fvm::ddt(U_) fvm::ddt(U_)
+ fvm::div(phi_, U_) + fvm::div(phi_, U_)
+ turbulence_->divDevReff(U_) + turbulence_->divDevReff()
); );
solve(UEqn == -gradp_); solve(UEqn == -gradp_);

View file

@ -1095,7 +1095,7 @@ bool unsIncrTotalLagrangianSolid::evolve()
int iCorr = 0; int iCorr = 0;
scalar initialResidual = 0; scalar initialResidual = 0;
lduMatrix::solverPerformance solverPerf; lduSolverPerformance solverPerf;
scalar res = 1; scalar res = 1;
scalar maxRes = 0; scalar maxRes = 0;
scalar curConvergenceTolerance = convergenceTolerance; scalar curConvergenceTolerance = convergenceTolerance;

View file

@ -261,7 +261,7 @@ scalar unsIncrTotalLagrangianSolid::smooth
int iCorr = 0; int iCorr = 0;
scalar initialResidual = 0; scalar initialResidual = 0;
lduMatrix::solverPerformance solverPerf; lduSolverPerformance solverPerf;
scalar residual = GREAT; scalar residual = GREAT;
lduMatrix::debug = debug; lduMatrix::debug = debug;
@ -498,7 +498,7 @@ scalar unsIncrTotalLagrangianSolid::smooth
int iCorr = 0; int iCorr = 0;
scalar initialResidual = 0; scalar initialResidual = 0;
lduMatrix::solverPerformance solverPerf; lduSolverPerformance solverPerf;
scalar residual = GREAT; scalar residual = GREAT;
lduMatrix::debug = debug; lduMatrix::debug = debug;

View file

@ -1191,7 +1191,7 @@ bool unsTotalLagrangianSolid::evolve()
int iCorr = 0; int iCorr = 0;
scalar initialResidual = 0; scalar initialResidual = 0;
lduMatrix::solverPerformance solverPerf; lduSolverPerformance solverPerf;
scalar res = 1; scalar res = 1;
scalar maxRes = 0; scalar maxRes = 0;
scalar curConvergenceTolerance = convergenceTolerance; scalar curConvergenceTolerance = convergenceTolerance;

View file

@ -310,7 +310,7 @@ scalar unsTotalLagrangianSolid::smooth
int iCorr = 0; int iCorr = 0;
scalar initialResidual = 0; scalar initialResidual = 0;
lduMatrix::solverPerformance solverPerf; lduSolverPerformance solverPerf;
scalar residual = GREAT; scalar residual = GREAT;
lduMatrix::debug = debug; lduMatrix::debug = debug;
@ -471,7 +471,7 @@ scalar unsTotalLagrangianSolid::smooth
int iCorr = 0; int iCorr = 0;
scalar initialResidual = 0; scalar initialResidual = 0;
lduMatrix::solverPerformance solverPerf; lduSolverPerformance solverPerf;
scalar residual = GREAT; scalar residual = GREAT;
lduMatrix::debug = debug; lduMatrix::debug = debug;