|
[Sponsors] |
November 29, 2017, 10:27 |
openFOAM producing number density field
|
#1 |
New Member
c
Join Date: Nov 2017
Posts: 4
Rep Power: 9 |
I am want to produce a field file which is the number density for my mesh area.
I am simulating a gas jet nozzle using sonicFoam. I don't think there is a premade function to do this, although I may be wrong as I am still very new to openFoam. I am assuming that the gas I have is an ideal gas, and therefore I can get the number density by n = P / (k_b T) Therefore I want to produce this as I go along. I was thinking of making a function in system/controlDict but I cannot find a way of entering this. Please could someone advise me on how to do this, or another way of getting the number density out. Thanks |
|
Tags |
fields, functions, number density, openfaom |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' | BrendaEM | OpenFOAM Meshing & Mesh Conversion | 12 | April 3, 2022 19:32 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 09:14 |