|
[Sponsors] |
Modifying the convection term in IcoFOAM code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 28, 2017, 06:51 |
Modifying the convection term in IcoFOAM code
|
#1 |
New Member
fluidflowsteel
Join Date: Jun 2016
Posts: 21
Rep Power: 10 |
Hi all,
I have a scalar field variable X and i want to write divergence ((1-X)*U*U) implicitly in the OpenFOAM. In the icoFOAM.c file, i have written the above expression as fvm::div(((1-X),phi),U) by modifying the fvm::div(phi,U) expression in the icoFoam code and the code is running. But am not sure whether it is the correct way to write ? Can anyone help ? with regards, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
icoFoam : how to include a volScalarField in convection Term? | AHRabiee | OpenFOAM Programming & Development | 1 | April 26, 2017 06:52 |
Add a source term (body force) in icoFoam | hisham007 | OpenFOAM Running, Solving & CFD | 1 | January 29, 2016 05:21 |
how to troduce a source term in ICOFOAM solver's equation | sawyer86 | OpenFOAM Running, Solving & CFD | 0 | July 20, 2012 12:15 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
CFD code for Convection + Radiation | Rodrigo Lucianetti | Main CFD Forum | 4 | December 23, 1998 16:33 |