|
[Sponsors] |
Problem with convection term in linearized Navier-Stokes equations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2014, 10:55 |
Problem with convection term in linearized Navier-Stokes equations
|
#1 |
New Member
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 11 |
Hi guys,
i'm trying to write a solver for Linearized Navier- Stokes equations. I modified icoFoam solver, splitting the convection term in two parts: fvm::div(phi_zero, U) + fvc::div(phi,U_zero). U_zero is the base flow, phi_zero is defined as phi_zero = linearInterpolate(U_zero) & mesh.Sf(). I tried to run a simulation around a cylinder and the result seems correct. Now, to prove that what i have written is correct, i should run two separate simulations: 1) The first one with fvc::div(phi,U_zero) = 0; 2) The second one with fvm::div(phi_zero, U) = 0; In both cases i should re-obtain a solution equal to the base flow U_zero. The first simulation works well but the second one doesn't. It seems that the fvc term without the fvm one causes some problems. Could anyone please help me? Regards, Andrea |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
coupled source term in 3 transport equations | mhassani | OpenFOAM Running, Solving & CFD | 1 | September 10, 2018 09:35 |
Problem modelling potential equations with addtional variables | pmtgt | CFX | 4 | October 3, 2013 08:20 |
LBM Vs navier stokes equations in turbulent fluid flow modeling. | sharad_shevate | Main CFD Forum | 0 | August 3, 2009 01:25 |
Newbie:Viscoelasticity and Navier stokes equation | Rajil Saraswat | Main CFD Forum | 2 | June 9, 2003 07:21 |
help: I am trying to solve Navier Stokes compressible and viscid flow | Jose Choy | Main CFD Forum | 2 | May 18, 2000 05:45 |