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

importing points from external file to cfx-post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2023, 12:49
Default importing points from external file to cfx-post
  #1
Member
 
SMN
Join Date: Jun 2009
Location: CANADA
Posts: 71
Rep Power: 16
mortazavi is on a distinguished road
hi, I have to extract pressure at some points in my calculation. For that I need to import the information of those points in cfx post as an external csv file (see the picture). how is that possible? If I use point cloud I can not extract the data from those points separately?
thanks
Attached Images
File Type: png Screenshot 2023-10-23 124553.png (4.5 KB, 5 views)
mortazavi is offline   Reply With Quote

Old   October 23, 2023, 16:58
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If there is only a few points then just set up monitor points manually.

If there is lots of points then write a program (I would use python) which reads in the CSV file and generates CCL text for a monitor point at each location. Then import that CCL into CFX-Pre. Note that this method will not handle large numbers of points, I estimate about 100-500 points is the most you could do. This is because the CCL interpreter has problems when the CCL gets really big.

If you want to extract thousands of points you could write a user fortran routine.

And you can also do it in post processing by generating a point cloud and using the point cloud as an object to export data from.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   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
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44


All times are GMT -4. The time now is 09:52.