CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Error on Iso-surface Creation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 13, 2011, 20:39
Default Error on Iso-surface Creation
  #1
Member
 
Shashank
Join Date: Apr 2011
Posts: 70
Rep Power: 6
shashank312 is on a distinguished road
>(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?
shashank312 is offline   Reply With Quote

Old   December 13, 2011, 23:52
Default
  #2
Member
 
fox000002's Avatar
 
Join Date: Apr 2009
Posts: 46
Rep Power: 8
fox000002 is on a distinguished road
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) )
fox000002 is offline   Reply With Quote

Old   December 14, 2011, 02:06
Default
  #3
Member
 
Shashank
Join Date: Apr 2011
Posts: 70
Rep Power: 6
shashank312 is on a distinguished road
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.
shashank312 is offline   Reply With Quote

Old   December 14, 2011, 04:33
Default
  #4
Senior Member
 
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 8
coglione is on a distinguished road
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
coglione is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 18 April 22, 2015 08:43
problem with surface creation in ICEM from multiple curves dialolema ANSYS Meshing & Geometry 2 October 27, 2014 14:14
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 June 29, 2009 00:48
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 01:17.