|
[Sponsors] |
November 23, 2020, 05:35 |
Importing Multiple Mesh Files Using Scheme
|
#1 |
New Member
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 7 |
Hi guys,
I tried to import some mesh files using scheme coding. However, I got this error and this was my thousands of trials Here is my code: file/set-tui-version "20.2" (define nameVector (vector "dhw_plate2.msh.gz" "dhw_plate1.msh.gz" "dhw_channel.msh.gz" "ch_plate.msh.gz" "ch_channel.msh.gz")) (do ((x 0 (+ x 1))) ((> x 4)) (begin (define a (vector-ref nameVector x))) (display a) (begin (file read-case a))) And this is my error: dhw_plate2.msh.gz Error: eval: unbound variable Error Object: file Warning: An error or interrupt occurred while reading the journal file. Some commands may not have been completed. So, what can I do to fix this issue? Thanks a lot! |
|
November 23, 2020, 07:43 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
(define nameVector (vector "dhw_plate2.msh.gz" "dhw_plate1.msh.gz" "dhw_channel.msh.gz" "ch_plate.msh.gz" "ch_channel.msh.gz")) (do ((x 0 (+ x 1))) ((> x 4)) (begin (ti-menu-load-string (format #f "file read-case ~a" (vector-ref nameVector x))) )
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
fluent, import, mesh, scheme, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[GAMBIT] Can I import multiple gambit mesh files to fluent? | swtbkim | ANSYS Meshing & Geometry | 2 | September 22, 2015 05:07 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |