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

Text Command for creating a surface?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2021, 05:52
Default Text Command for creating a surface?
  #1
New Member
 
yadhu
Join Date: Sep 2020
Posts: 17
Rep Power: 6
beastmaster is on a distinguished road
Hello guys , i am trying to create a plane surface and trying to write the temperature profile on that surface,

these are my codes for that
(ti-menu-load-string (format #f "surface plane-surf-aligned ooooo~a wall-sink 0"))
(ti-menu-load-string (format #f "file write-profile test.pro plane-13 () total-temperature () " ))\n

the plane(plane-13) i am trying to create is aligned to wall sink, and at coordinate z=0, i am getting a error but, can anyone help me in this?

regards
beastmaster is offline   Reply With Quote

Old   January 21, 2021, 06:29
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
find TUI command to create plane you want and put it inside
Code:
(ti-menu-load-string (format #f "   "))
if you want to put any variable value inside the command you can use this approach
Code:
(ti-menu-load-string (format #f "  ~a " variable))
as a result value of variable will be executed
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   January 21, 2021, 08:52
Default
  #3
New Member
 
yadhu
Join Date: Sep 2020
Posts: 17
Rep Power: 6
beastmaster is on a distinguished road
Thanks for helping me out , but I couldn't find the TUI command to create a surface (say plane 12) aligned To a wall(say wall-1) at position z=0, if possible can you tell me the command?

Regards
beastmaster is offline   Reply With Quote

Old   January 21, 2021, 22:43
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
type word "surface" in fluent console, press enter

you will see the list of available options
Code:
delete-surface          multiple-zone-surfaces  quadric-slice
group-surfaces          partition-surface       rake-surface
imprint-surface         plane                   rename-surface
.....
type "plane-surf-aligned " press enter
it will ask surface name

ans so on, this is a way for you to make this TUI command

except plane-surf-aligned you may try to use other methods to create plan if needed
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   January 23, 2021, 10:45
Default
  #5
New Member
 
yadhu
Join Date: Sep 2020
Posts: 17
Rep Power: 6
beastmaster is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
type word "surface" in fluent console, press enter

you will see the list of available options
Code:
delete-surface          multiple-zone-surfaces  quadric-slice
group-surfaces          partition-surface       rake-surface
imprint-surface         plane                   rename-surface
.....
type "plane-surf-aligned " press enter
it will ask surface name

ans so on, this is a way for you to make this TUI command

except plane-surf-aligned you may try to use other methods to create plan if needed
I tried this out, it really worked, but is there any way to write all of this in one line command? I'm trying to write plane surf aligned function, aligned to surface wall sink, with distance 5
beastmaster is offline   Reply With Quote

Old   January 23, 2021, 14:38
Default
  #6
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Once you find the correct sequence of words, you can just put them on one line.
pakk is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Surface triangulation using snappyHexMesh shaileshbg OpenFOAM Meshing & Mesh Conversion 4 October 17, 2019 05:42
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 12:05
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
[DesignModeler] Imported 3D curve from text but cant generate surface avidash ANSYS Meshing & Geometry 0 May 21, 2015 07:37
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 16:03


All times are GMT -4. The time now is 23:52.