CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Create a new field without modifying built-in solver?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2019, 10:44
Default Create a new field without modifying built-in solver?
  #1
New Member
 
Join Date: Mar 2019
Posts: 8
Rep Power: 7
gryphaea1635 is on a distinguished road
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!
gryphaea1635 is offline   Reply With Quote

Old   November 4, 2019, 04:13
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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)
nimasam is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Long output in terminal. ssa_cfd OpenFOAM Running, Solving & CFD 1 March 18, 2019 05:25
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
[GAMBIT] How to plot S pipe mariam.sara ANSYS Meshing & Geometry 36 November 7, 2013 15:22
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 14:43.