|
[Sponsors] |
December 13, 2011, 19:39 |
Error on Iso-surface Creation
|
#1 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15 |
>(do ((x -22.375 (+ x 0.0625)) (i 1 (+ i 1))) ((> x -21.5))
(ti-menu-load-string (format #f "surface/iso-surface x-coordinate x-~02d () ~a ()" i x)) ) surface/iso-surface x-coordinate xinvalid command [x-coordinate] -01 () -22.375 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -02 () -22.3125 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -03 () -22.25 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -04 () -22.1875 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -05 () -22.125 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -06 () -22.0625 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -07 () -22 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -08 () -21.9375 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -09 () -21.875 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -10 () -21.8125 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -11 () -21.75 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -12 () -21.6875 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -13 () -21.625 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -14 () -21.5625 ()surface/iso-surface x-coordinate xinvalid command [x-coordinate] -15 () -21.5 ()#f I am doing a two-phase flow problem. Is there a different syntax to specify the domain (primary phase, secondary phase, mixture) as well? |
|
December 13, 2011, 22:52 |
|
#2 |
Member
Join Date: Apr 2009
Posts: 46
Rep Power: 17 |
Code:
(define (hy-create-iso-surface-x name from-surf from-zone pos) (ti-menu-load-string (format #f "/surface/iso-surface x-coordinate ~a ~a () ~a () ~a ()" name from-surf from-zone pos) ) ) (hy-create-iso-surface-x "surf-x1" "" "" 0.01) Add one more '()' to the command string. (format #f "/surface/iso-surface x-coordinate ~a () () ~a ()" name pos) ) |
|
December 14, 2011, 01:06 |
|
#3 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15 |
I am unable to create the surface with the syntax you provided. I reiterate again that I am using VOF method. And when I create just on surface instead of a string, it asks me the domain of my iso-surface and I say mixture. So, your text command works well for a single phase problem I believe. But then again, I maybe wrong. Suggestions welcome.
|
|
December 14, 2011, 03:33 |
|
#4 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
For VOF-applications you definitely need to specify for either which phase or the mixture an iso-surface has to be created. Grid information like coordinates are defined on the mixture level, thus
(format #f "/surface/iso-surface mixture x-coordinate ~a () () ~a ()" name pos) ) may do the trick. cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 11:05 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
problem with surface creation in ICEM from multiple curves | dialolema | ANSYS Meshing & Geometry | 2 | October 27, 2014 13:14 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |