|
[Sponsors] |
December 28, 2021, 03:43 |
Add an equation to CompressibleInterFoam
|
#1 |
New Member
Antonio
Join Date: Dec 2021
Posts: 5
Rep Power: 4 |
I am trying to implement "waveTrasmessive.BC" in compressibleInterFoam. I added this code to createFilds.h
Code:
volScalarField DrhoDp ( IOobject ( "DrhoDp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), alpha1*psi1 + alpha2*psi2 ); Code:
DrhoDp = psi1*alpha1 + psi2*alpha2; Does anyone know by which this error depend on? How can I fix it? Thanks! |
|
Tags |
vof wavetrasmessive fluid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add soure terms to the momentum equation | Shibi | OpenFOAM Programming & Development | 1 | June 23, 2022 15:27 |
How to manually add Boussinesq Approximation to the momentum equation of a solver? | chymalaia | OpenFOAM Programming & Development | 2 | February 5, 2021 09:07 |
How can I add or modify an equation?? | Jung hoo | OpenFOAM Programming & Development | 4 | July 10, 2016 08:23 |
add temperature equation to interFoam | nygbook | OpenFOAM Running, Solving & CFD | 3 | September 4, 2011 07:28 |
UDF to add two governing equation?? | T.K. Yang | FLUENT | 0 | May 9, 2006 02:54 |