|
[Sponsors] |
September 9, 2008, 05:48 |
How to define these patches
|
#1 |
Senior Member
|
Dear all,
First thank you for your attention. I want to name the circle patches as "circle1","circle2",.... I write the following code: ----------------------- For t In {1:101} char add= (char) t; Physical Surface(StrCat("circle",add)) = {e1[8+4*t]:e1[11+4*t]} ; EndFor ----------------------- When it is loaded, I get: problem 1. add: unknown variable, problem 2. I visualize the patch, and I could only get one patch named "circleadd", NOT "circle1". If some of you have this experience, would you please give me any suggestions? Thank you very much. Bin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hydrogen storage by metal hydride | longbk | FLUENT | 12 | August 1, 2023 20:13 |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 21:13 |
[mesh manipulation] Problem with using createPatchDict to define cyclic boundaries | kaszt | OpenFOAM Meshing & Mesh Conversion | 0 | April 1, 2016 21:18 |
UDF error for Heat Generation | mame | Fluent UDF and Scheme Programming | 4 | March 3, 2016 04:22 |
How to define patches after gmshToFoam ? | seb_j | OpenFOAM | 8 | July 13, 2011 09:25 |