Error on Iso-surface Creation
>(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? |
Code:
(define (hy-create-iso-surface-x name from-surf from-zone pos) Add one more '()' to the command string. (format #f "/surface/iso-surface x-coordinate ~a () () ~a ()" name pos) ) |
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.
|
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 |
All times are GMT -4. The time now is 09:03. |