|
[Sponsors] |
[ICEM] generate a curve or surface in the axi-symmetric geometry with ICEM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 2, 2016, 09:44 |
generate a curve or surface in the axi-symmetric geometry with ICEM
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear All,
I would like to generate a curve and then rotate this curve to generate a surface with ICEM. I know the function of this curve but I do not know where I can input this function in ICEM. My geometry is axis-symmetric. Does anybody know how to do this with ICEM? Thank you in advance ! OFFO Last edited by openfoammaofnepo; June 2, 2016 at 19:49. |
|
June 3, 2016, 09:13 |
|
#2 |
New Member
Paurnamie Samarakone
Join Date: Jun 2015
Posts: 25
Rep Power: 11 |
Hi
So you know how to draw a curve right ? What you don't know is how to generate a surface that rotates ? You need a curve and an axis around which this curve would rotate to generate the surface Geometry -> Create / Modify Surface -> Surface of Revolution Nat |
|
June 3, 2016, 09:19 |
|
#3 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
hi Nat,
thank you. my question is about how to generate a curve based on a known function, like a power function. do you know how to do this ? The function is as follows: r(x)=-18*x^3 + 6.4*x^2 + 0.1, where x is the streamwise coordinate. |
|
June 3, 2016, 09:39 |
|
#4 |
New Member
Paurnamie Samarakone
Join Date: Jun 2015
Posts: 25
Rep Power: 11 |
Oh sorry I didn't uderstand that at all. Thought I was helping you x)
I'm afraid I do not know how to do that on ICEM. If you know how to use a CAD software like CATIA, I suggest you draw you geometry using that. That's what I did (currently doing an internship using ICEM)... Hope someone can help you soon ! Nat |
|
June 3, 2016, 09:52 |
|
#5 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you all the same!
Quote:
|
||
June 7, 2016, 07:10 |
|
#7 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
No. We can generate the point with the functions and then connect these point to generate the curves. It can work.
|
|
June 7, 2016, 08:44 |
|
#8 | |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Quote:
Do you know about the replay function of icem? Yes? Then you should also know, that icem scripts are in tcl language. Have a look at some tutorials on that language in case you never heard of tcl. To give you an idea how to do it, i have prepared a short script for you. i guess, it is already more than i should help! Save it into a text file with *.tcl ending and run it with icem. With regards, Sebastian (Little 'homework'... try to figure out how to connect all those points with a script) Code:
set steps 100. set xmin 0.0 set xmax 0.1 set crvlgh [expr $xmax-$xmin] set steplgh [expr $crvlgh/$steps ] for {set n 0} {$n <= $steps } {incr n} { set xvalue [expr $n*$steplgh + $xmin] set functionvalue [expr -18.*pow($xvalue,3.) + 6.4*pow($xvalue,2.) + 0.1] ic_point {} PARTNAME pointname.$n "$xvalue,$functionvalue,0" } Last edited by bluebase; June 10, 2016 at 08:44. Reason: Corrected little error in coordinates calculation |
||
June 10, 2016, 08:44 |
|
#9 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
There was an error in my calculation. I edited it. Now it should work flawlessly.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] How to generate sunstructured "all-tri patch-dependant" surface mesh in ICEM? | jash | ANSYS Meshing & Geometry | 19 | July 23, 2013 19:48 |
[ICEM] STL Geometry in ICEM | asal | ANSYS Meshing & Geometry | 3 | February 5, 2013 10:44 |
[ICEM] Forcing surface and curve to match | sherifkadry | ANSYS Meshing & Geometry | 0 | August 27, 2010 01:28 |
flow over an airfoil 3d ( Geometry on icem cfd ) | dfmona | Main CFD Forum | 0 | April 14, 2010 00:32 |
How to do Geometry from 3D mesh in ICEM | San24 | Main CFD Forum | 4 | August 8, 2005 03:49 |