|
[Sponsors] |
September 19, 2019, 07:06 |
Creating a new volScalarField (Calulated)
|
#1 | ||
Senior Member
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 12 |
Hi,
I am trying to modify sonicFOAM. I am trying to create a source term (phi_g) to momentum equation which is d(phi_g)/dx. Where phi_g is function of coordinate x. It is created in the createFields.h in the following manner. Quote:
Now, when I compile the code it compiles fine. But while running a case it gives the following error: Quote:
Do I need to specify a boundary condition for phi_g in 0 folder with types calculated? |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error message | Bruno_Jorge | Main CFD Forum | 1 | February 5, 2019 11:12 |
Problems with creating a volScalarField | georlade | OpenFOAM Programming & Development | 4 | December 4, 2016 12:31 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 22:38 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 06:16 |