|
[Sponsors] |
November 16, 2020, 08:05 |
Viv dynamicmesh
|
#1 | |
New Member
ROIN bin
Join Date: Dec 2019
Posts: 12
Rep Power: 7 |
Dear all,I was planning to do some cylinder bypassing in the pipeline and first planned the 2D case with reference to wingmotion in pimpleFoam, but after a while I get the following error (forces forces: not including porosity effects)What changes should I make to improve this situation or have a better idea thanks.
Quote:
Last edited by Beingzzz; November 16, 2020 at 09:37. |
||
November 16, 2020, 17:18 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
||
November 17, 2020, 00:00 |
|
#3 | |
New Member
ROIN bin
Join Date: Dec 2019
Posts: 12
Rep Power: 7 |
Quote:
Code:
--> FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow. Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 1.92691e+06 Specified mass inflow : 0 Specified mass outflow : 56904.1 Adjustable mass outflow : 2.10588e-14 From function bool Foam::adjustPhi(Foam::surfaceScalarField&, const volVectorField&, Foam::volScalarField&) in file cfdTools/general/adjustPhi/adjustPhi.C at line 107. |
||
November 17, 2020, 02:49 |
|
#4 |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
I'm not sure if I can help you with that. What are your pressure/velocity boundary conditions at inlet and outlet? Does it run without this error if you deactivate the dynamic mesh?
|
|
November 17, 2020, 03:13 |
|
#5 | |
New Member
ROIN bin
Join Date: Dec 2019
Posts: 12
Rep Power: 7 |
Quote:
fvsolusion Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { "pcorr.*" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-05; relTol 0; } p { $pcorr; tolerance 1e-7; relTol 0.01; } pFinal { $p; tolerance 1e-7; relTol 0; } U { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-05; relTol 0; } UFinal { $U; tolerance 1e-05; relTol 0; } "(k|nut|omega)" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0.01; } "(k|nut|omega)Final" { $U; tolerance 1e-06; relTol 0; } cellDisplacement { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0.01; } } PIMPLE { correctPhi yes; nOuterCorrectors 2; nCorrectors 1; nNonOrthogonalCorrectors 0; pRefCell 1001; pRefValue 0; } relaxationFactors { fields { p 0.3; } equations { "(U|k|omega)" 0.7; "(U|k|omega)Final" 1.0; } } cache { grad(U); } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default Euler; } gradSchemes { default Gauss linear; grad(p) Gauss linear; grad(U) Gauss linear; } divSchemes { default none; div(phi,U) Gauss linearUpwind grad(U); div(phi,k) Gauss limitedLinear 1; div(phi,omega) Gauss limitedLinear 1; div((nuEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear limited corrected 0.5; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } wallDist { method meshWave; } // ************************************************************************* // |
||
November 18, 2020, 11:39 |
|
#6 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
There is tutorial available which computes 2d vortex induced vibration (viv) of a circular cylinder in laminar flow:
https://wiki.openfoam.com/Vortex_ind...ichael_Alletto This may be helpful |
|
February 13, 2022, 04:02 |
Phase Angle Calculation
|
#7 | |
Member
zink
Join Date: Oct 2015
Posts: 30
Rep Power: 11 |
Hi,
Your tutorial is quite helpful, How can we calculate phase angle in python? Quote:
|
||
February 13, 2022, 09:16 |
|
#8 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Which phase angle do you mean
|
|
February 13, 2022, 14:54 |
|
#9 |
Member
zink
Join Date: Oct 2015
Posts: 30
Rep Power: 11 |
||
February 14, 2022, 16:31 |
|
#10 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Did you try to use the dot product to calculate the phase angle
|
|
Tags |
dynamicmesh error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulating vortex induced vibrations (VIV) through UDF | diggee | FLUENT | 0 | May 30, 2018 08:25 |
External management of solid motion (using dynamicmesh) | maxou1993 | Main CFD Forum | 0 | July 28, 2015 12:37 |
Which transition model for VIV on risers? | jordan.c | Main CFD Forum | 0 | May 5, 2015 04:34 |
Vortex Induced Vibration (VIV) modelling | Kwong | FLUENT | 1 | December 1, 2009 14:08 |
VIV | Sham | FLUENT | 0 | December 14, 2006 23:13 |