|
[Sponsors] |
How to modify the scalar value from the BC implementation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 12, 2020, 13:57 |
How to modify the scalar value from the BC implementation
|
#1 |
New Member
Zeng
Join Date: Jul 2017
Location: London, UK
Posts: 16
Rep Power: 8 |
Is there way I can access and change the value of a scalar (or label) defined in the main function from the BC implementation?
|
|
March 18, 2020, 07:40 |
|
#2 |
New Member
Zeng
Join Date: Jul 2017
Location: London, UK
Posts: 16
Rep Power: 8 |
It seems there is no easy way to do that since the BC implementation is another module.
My intention was to merge the pressure and temperature boundary implementation together. I figured out that using the static class member can do the trick. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
ERROR: request for volScalarField thermo:psi from objectRegistry region0 | AAbouali | OpenFOAM Running, Solving & CFD | 1 | September 19, 2020 04:53 |
Solving for an additional species CO in coalChemistryFoam | N. A. | OpenFOAM Programming & Development | 3 | February 18, 2019 05:58 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Possibility of local mechanical turbulence implementation | HakikiCanakkaleli | OpenFOAM Programming & Development | 0 | March 12, 2013 18:23 |