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

Two questions about data analysis

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 31, 2006, 09: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, 10: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, 10: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, 10: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, 05: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

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
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
CGNS vs Tecplot Data Format LWhitson2 Main CFD Forum 3 July 1, 2011 13:50
matching variable data with grid point data anfho OpenFOAM Programming & Development 0 May 6, 2011 15:28
paraview - plotting difference to reference data joewe ParaView 0 August 30, 2010 18:01
best software for the analysis of pump data RKR Main CFD Forum 0 May 22, 2008 07:49


All times are GMT -4. The time now is 18:33.