|
[Sponsors] |
January 22, 2010, 00:21 |
Character expressions in gmsh?
|
#1 |
Senior Member
|
How does one define a character expression then call it in gmsh?
This code works: var=55; Printf ("the variable is %g", var); This code doesnt: var="fish"; Printf ("the variable is %s", "fish"); I have had zero luck with Sprintf I have considered that I am asking too much of the gmsh code, but it doesnt make sense for all the options and functions to be there if character expressions cant even be printed to the screen. Thoughts? Thanks for your help! (does it bother any one else that gmsh strings are really arrays and gmsh character expressions are really strings?) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Converting gmsh to OpenFoam | Friendly | OpenFOAM Meshing & Mesh Conversion | 3 | June 26, 2018 06:46 |
[swak4Foam] how can extend character limitation of expressions in groovyBC? | immortality | OpenFOAM Community Contributions | 5 | November 3, 2015 12:19 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |