|
[Sponsors] |
June 10, 2014, 15:57 |
convection term alpha1 interDyMFoam
|
#1 |
New Member
Join Date: Jun 2014
Posts: 7
Rep Power: 11 |
Dear OpenFoam users,
I am a new OpenFoam user and I need your help. I try to remove the convective term on the air side for the floatingObject case, like in the example here: http://www.imac.unavarra.es/Cursos/A...AMWorkshop.pdf I cannot simply add alpha1 like in the example, because I use openfoam 2.3.0 and the files for interFoam and interDyMFoam look differently. old version 2.1.1 surfaceScalarField muEff ( "muEff", twoPhaseProperties.muf() + fvc::interpolate(rho*turbulence->nut()) ); fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - fvm::laplacian(muEff, U) - (fvc::grad(U) & fvc::grad(muEff)) //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U)) ) & mesh.Sf())) ); UEqn.relax(); if (pimple.momentumPredictor()) { solve ( UEqn == fvc::reconstruct ( ( fvc::interpolate(interface.sigmaK())*fvc::snGrad(a lpha1) - ghf*fvc::snGrad(rho) - fvc::snGrad(p_rgh) ) * mesh.magSf() ) ); } new version 2.3.0 fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) + turbulence->divDevRhoReff(rho, U) ); UEqn.relax(); if (pimple.momentumPredictor()) { solve ( UEqn == fvc::reconstruct ( ( fvc::interpolate(interface.sigmaK())*fvc::snGrad(a lpha1) - ghf*fvc::snGrad(rho) - fvc::snGrad(p_rgh) ) * mesh.magSf() ) ); } How can I solve this problem? Thank you in advance for your help! Elisabeth Last edited by Elisabeth_ofoam; June 11, 2014 at 09:31. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formulation in compressibleInterFoam | scttmllr | OpenFOAM Running, Solving & CFD | 72 | June 26, 2023 07:42 |
Negative alpha1 using interDyMFoam | jrrygg | OpenFOAM Running, Solving & CFD | 14 | March 2, 2013 10:26 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 15:45 |
[Q] Convection term treatment in UDS | Ryan, Lee | FLUENT | 4 | October 18, 2004 10:20 |
Convection Term Discretization | Maciej Matyka | Main CFD Forum | 3 | October 7, 2004 04:32 |