|
[Sponsors] |
October 13, 2016, 01:25 |
how to modify stored variables in each cells
|
#1 |
New Member
Sang Yun, Shin
Join Date: Oct 2016
Posts: 1
Rep Power: 0 |
Hello. I have a problem using a user-code tool.
As using a user code tool, It is easy to make a new scalar field function with stored variables such as Temperature, Pressure, Density and so on. However, I want to modify stored variables in each cells. For example, when a condensation is occurred, I want a pressure drop with something algorithm each time step routines (I don't want to use a built-in physics model such as VOF condensation.) That is, I didn't want "p2=p1-a" but "p1=p1-a" How to modify stored variables in each cells? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 07:56 |
[snappyHexMesh] SnappyHexMesh running killed! | Mark JIN | OpenFOAM Meshing & Mesh Conversion | 7 | June 14, 2022 01:37 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 10:58 |
[ICEM] error analysis | despaired student | ANSYS Meshing & Geometry | 7 | June 27, 2012 11:57 |
How to modify variables in Fluent solver | yizhou | FLUENT | 1 | June 19, 2006 20:00 |