|
[Sponsors] |
January 31, 2002, 10:42 |
Extrusion along a spline
|
#1 |
Guest
Posts: n/a
|
Hello, Can you help me? I am looking for a trick to made an extrusion along a spline with Prostar. Does someone have the solution? Tom
|
|
January 31, 2002, 13:05 |
Re: Extrusion along a spline
|
#2 |
Guest
Posts: n/a
|
Use VSPGENERATE. That's exactly what it was made for. Steve
|
|
February 1, 2002, 04:35 |
Re: Extrusion along a spline
|
#3 |
Guest
Posts: n/a
|
Hello there,
Using vspgenerate isn't all that intuitive since it only creates vertices. Here's a macro that I've been able to run successfully. With a little luck, it might make getting started a wee bit simpler for you... Regards, Lars Ola ! Macro that extrudes fluid cells from a set of shells and vertices along a spline (in the direction of ascending spline vertex nos.) ! Input variables: *set,csex,7 ! cylindrical coordinate system *set,typs,4 ! cell type for baseline shells *set,typc,15 ! cell type for fluid cells *set,spid,4 ! extrusion spline ID *set,edis,1.0 ! extrusion distance (% of spline) *set,ncax,40 ! axial fluid cell count csys,csex ! Disconnect baseline shells from model and extrude ncax layers of fluid cells along the spline over a distance of edis. cset,news,type,typs vren,cells,,cset vset,news,cset *get,nvmx,mxver *get,nvmn,mnvset set,nvof,nvmx - nvmn + 1 ctab,typc,fluid,typc vcextrude,ncax,nvof,cset,,,local,0,0,edis / ncax vspgenerate,spid,ncax + 1,nvof,vset,,,perc,,edis, cset,news,type,typc cplot |
|
February 1, 2002, 09:08 |
TThe macro
|
#4 |
Guest
Posts: n/a
|
Thanks a lot for the macro. It worked succesfully for me as well. Regards. Tom.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] How to use the spline commands | tnm23 | OpenFOAM Meshing & Mesh Conversion | 10 | December 13, 2009 04:16 |
B Spline codes | rahul garg | Main CFD Forum | 0 | May 26, 2006 22:36 |
spline creation | siva | Siemens | 0 | March 2, 2006 16:51 |
3d spline interpolation | Matthias | Main CFD Forum | 6 | January 11, 2002 01:47 |
B-spline Method | Peter Liang | Main CFD Forum | 2 | September 3, 2001 08:14 |