|
[Sponsors] |
March 18, 2021, 08:26 |
change BC-type during calculation
|
#1 |
New Member
Join Date: Jul 2019
Posts: 23
Rep Power: 7 |
Hello
I'm trying to change the BC with an execute command. My command is: define/boundary-condition/modify-zone/zone-type/outlet/wall --> my outlet with the name "outlet" should be changed to a wall. But I'm getting an error: Invalid zone. zone id/name [] Error: CAR: invalid argument [1]: wrong type [not a pair] Error Object: #f Can someone help me? |
|
March 18, 2021, 08:51 |
|
#2 |
New Member
Join Date: Jul 2019
Posts: 23
Rep Power: 7 |
Finally I got it:
define/boundary-condition/modify-zone/zone-type outlet wall But I cant connect it with an if-condition: (if(= 12 (rpgetvar 'flow-time)) (define/boundary-condition/modify-zone/zone-type outlet wall)) Error: eval: unbound variable Error Object: define/boundary-condition/modify-zone/zone-type |
|
Tags |
execute command |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] simulation of closing the gate using moving mesh | simin_ds | OpenFOAM Meshing & Mesh Conversion | 8 | April 12, 2019 06:49 |
Modified pimpleFoam solver to MRFPimpleFoam solver | hiuluom | OpenFOAM Programming & Development | 12 | June 14, 2015 22:22 |
SimpleFoam - instable simulation | Specialist | OpenFOAM Running, Solving & CFD | 17 | August 12, 2014 05:52 |
Divergent temperature in chtMultiRegion(Simple)Foam | akrasemann | OpenFOAM Running, Solving & CFD | 13 | March 24, 2014 03:54 |
interFoam/kOmegaSST tank filling with printStackError/Mules | simpomann | OpenFOAM Running, Solving & CFD | 3 | February 17, 2014 18:06 |