|
[Sponsors] |
Create a new field without modifying built-in solver? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 28, 2019, 11:44 |
Create a new field without modifying built-in solver?
|
#1 |
New Member
Join Date: Mar 2019
Posts: 8
Rep Power: 7 |
Hi everyone,
I am trying to simulate CO2 adsorption on a wall boundary using compressibleInterFoam. So far, I have created a coded boundary condition for the wall that decreases the value of alpha.CO2 at the wall at every time step. In order to represent the amount of CO2 adsorbed by the wall, I am trying to create a new volScalarField theta, that will increase at the wall by the amount that alpha.CO2 decreases. I am using openfoam built in on a supercomputing cluster, so compressibleInterFoam is built-in and I cannot modify the createFields files. Without creating a new solver or modifying compressibleInterFoam, is there a way to create a new volScalarField to be used (e.g. can I write something in controlDict in order to create a new field)? Thanks! |
|
November 4, 2019, 05:13 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
maybe via using codeStream in controlDict, you can create a new volScalarField
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Long output in terminal. | ssa_cfd | OpenFOAM Running, Solving & CFD | 1 | March 18, 2019 06:25 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
[GAMBIT] How to plot S pipe | mariam.sara | ANSYS Meshing & Geometry | 36 | November 7, 2013 16:22 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |