CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[DesignModeler] How to write the script in the ansys design modeler?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 4, 2012, 22:27
Default How to write the script in the ansys design modeler?
  #1
New Member
 
deddy chrismianto
Join Date: Mar 2012
Posts: 3
Rep Power: 5
deddy1973 is on a distinguished road
I would like to create the ship hull geometry paramaters automatically using ansys design modeler, but I know it is hard to use the design modeler standard tools (we know in the creating of parameters are available only for offset/moving and rotation). Also, I know that we can write the script to make a model in the design modeler, however I don't know how to write the script (especially: ways of script writing and the program language used). Please give me some recommendations
deddy1973 is offline   Reply With Quote

Old   July 22, 2013, 08:14
Default
  #2
New Member
 
Tamara Annabelle
Join Date: Jul 2013
Posts: 26
Rep Power: 4
Marabelle is on a distinguished road
Hi!
I know it is quite a long time ago that you posted your question (approx. 1 year...) Did you find out how to write these scripts? I just found out this option under File->"write skript" and "run skript" but also I don't have any experience in the programming language jscript. Do you have any tips and tricks for me?
Thanks!
Marabelle is offline   Reply With Quote

Old   October 3, 2013, 17:33
Default
  #3
New Member
 
Anon
Join Date: Oct 2013
Posts: 5
Rep Power: 3
merper is on a distinguished road
Perhaps this will help as a starting course:

This script will create the geometry specified. You may be able to reverse engineer it to learn some tricks.

http://www.sharcnet.ca/Software/Flue...eaExample.html


However, there is not much documentation from ansys on it. I've talked with the reps.
merper is offline   Reply With Quote

Old   October 4, 2013, 05:08
Default
  #4
New Member
 
Tamara Annabelle
Join Date: Jul 2013
Posts: 26
Rep Power: 4
Marabelle is on a distinguished road
thanks a lot! I found a half-automatical solution now, with a saved script (with the "write script" function) and I duplicate my model and overwrite the sketches so I don't have to create the areas etc. and set the mesh sizing etc. again every time. I only have to set the conections to the new sketches and delete the old ones...
But by the time, I will try that tutorial, maybe it makes me life even easier. Thanks!
Marabelle 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
Design Modeler Boundary Condition natantyt ANSYS Meshing & Geometry 2 June 28, 2011 02:32
Ansys Design Modeler natantyt ANSYS Meshing & Geometry 1 June 24, 2011 01:00
Need some basic information for using Ansys Design Modeler pradeepmash ANSYS Meshing & Geometry 3 October 24, 2010 16:01
Ansys 12: Write def file downwars compatible? camoesas CFX 3 February 18, 2010 17:56
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


All times are GMT -4. The time now is 08:04.