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

Two questions about data analysis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2006, 10:52
Default Two questions about data analysis
  #1
Felix
Guest
 
Posts: n/a
Hi there, I have two small questions for you. I hope you can help!

____________________

First, I would like to know if it is possible in a macro to extract only the name of the analysed file (i.e. "result.res") without the whole path? I currently use the line below which gives me the name including the unwanted path (i.e. "...\path\folder1\folder2\result.res"):

! $sim = getValue("DATA READER", "Current Results File")

____________________

Second, I would like to produce some clearly understandable image files and would need to create a "surface of velocity". Let me explain. I created in CFX-Post a plane on which I can add normal velocity vectors. What I would like to do is to create a 3D surface joining the tips of these vectors. Is that possible?

____________________

Thaks a lot for your help,

Felix
  Reply With Quote

Old   August 31, 2006, 11:11
Default Re: Two questions about data analysis
  #2
Joe
Guest
 
Posts: n/a
1) Google: "perl strip path"

2) Covered in this forum about 2 months ago ... search.

  Reply With Quote

Old   August 31, 2006, 11:14
Default Re: Two questions about data analysis
  #3
longbow
Guest
 
Posts: n/a
To answer your second question, a user surface may achieve what you want to do.

USER SURFACE: User Surface 4 Offset Direction = 0 , 0 , 1 Offset Mode = Variable Offset Type = Translational Offset Variable = Velocity w Option = Offset From Surface Surface Name = SURFS 1 B B END
  Reply With Quote

Old   August 31, 2006, 11:53
Default Re: Two questions about data analysis
  #4
Felix
Guest
 
Posts: n/a
Ok, thanks a lot to both of you.

Felix
  Reply With Quote

Old   September 4, 2006, 06:33
Default Re: Two questions about data analysis
  #5
Michael B
Guest
 
Posts: n/a
http://www.cfd-online.com/Forum/cfx_...cgi?read=15965
  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
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
CGNS vs Tecplot Data Format LWhitson2 Main CFD Forum 3 July 1, 2011 14:50
matching variable data with grid point data anfho OpenFOAM Programming & Development 0 May 6, 2011 16:28
[General] paraview - plotting difference to reference data joewe ParaView 0 August 30, 2010 19:01
best software for the analysis of pump data RKR Main CFD Forum 0 May 22, 2008 08:49


All times are GMT -4. The time now is 22:35.