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

How to get velocity at each node in the cell zones?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By CFDKareem
  • 1 Post By CFDKareem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2023, 16:05
Default How to get velocity at each node in the cell zones?
  #1
New Member
 
Yifan Zhang
Join Date: Jan 2023
Posts: 4
Rep Power: 3
yifan111 is on a distinguished road
Hello, I have a simulation already done in fluent, I want to get the x-velocity, y-velocity, z-velocity at each nodes. I’ve tried to export the solution data with ASCII format. Without choosing any surface, I can get the velocity at all the nodes(total number is 338920) in the domain. If I choose specific surface, it will only write the data on the surface. How can I get the velocity file of a specific cell zone? For example, how to get velocity file for each node in internal cell zone. Once the export file type is set to ASCII, I am not able to select anything in the cell zones. The summation of nodes from each surface is not equal to the total number of the nodes in the domain. Also is there a way to find the number of nodes in each cell zone? I could only find the info for face count.

Any help would be massively appreciated.
yifan111 is offline   Reply With Quote

Old   January 5, 2023, 16:42
Default
  #2
Senior Member
 
CFDKareem's Avatar
 
Kareem
Join Date: Nov 2022
Location: New York
Posts: 117
Rep Power: 3
CFDKareem is on a distinguished road
File>Export>Profile

You can select the entire cell zone and output the variable of your choosing into a .CSV file.
yifan111 likes this.
__________________
Please like the answer if it helped!

Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured
CFDKareem is offline   Reply With Quote

Old   January 5, 2023, 17:11
Default
  #3
New Member
 
Yifan Zhang
Join Date: Jan 2023
Posts: 4
Rep Power: 3
yifan111 is on a distinguished road
Thank you very much for your help, Kareem!
yifan111 is offline   Reply With Quote

Old   January 5, 2023, 17:20
Default
  #4
New Member
 
Yifan Zhang
Join Date: Jan 2023
Posts: 4
Rep Power: 3
yifan111 is on a distinguished road
Quote:
Originally Posted by CFDKareem View Post
File>Export>Profile

You can select the entire cell zone and output the variable of your choosing into a .CSV file.
Thank you very much for your reply! I've tried FILE>WRITE>PROFILE, however it only contains surfaces. There is no zone selection. The output file contains the velocity for each cell faces instead of nodes. Do you know how to get the velocity for each nodes?
yifan111 is offline   Reply With Quote

Old   January 5, 2023, 20:38
Default
  #5
Senior Member
 
CFDKareem's Avatar
 
Kareem
Join Date: Nov 2022
Location: New York
Posts: 117
Rep Power: 3
CFDKareem is on a distinguished road
Quote:
Originally Posted by yifan111 View Post
Thank you very much for your reply! I've tried FILE>WRITE>PROFILE, however it only contains surfaces. There is no zone selection. The output file contains the velocity for each cell faces instead of nodes. Do you know how to get the velocity for each nodes?
Ahh my apologies, tested it quickly on a 2D mesh. For a 3D mesh there is three ways to do this, that I know of:

1) Export the results to a CDAT, or CFD post file. You can select and export only the cell zone of interest. In CFD post do File>Export>Export and you can export the x, y, z, +quantities of interest. This will write a pretty nice CSV of the node data. (Do this. It's the easiest and give the best file format)

2) Export the results from Fluent into ACSII format, as you did. You can then export the mesh values for just the zone of interest and use Matlab to compare the two and only take the points of interest.

3) In Fluent do File>Interpolate. You can export an interpolation file of velocity on only 1 cell zone. This file format is a little gross, would not recommend.
yifan111 likes this.
__________________
Please like the answer if it helped!

Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured
CFDKareem is offline   Reply With Quote

Old   January 6, 2023, 13:33
Default
  #6
New Member
 
Yifan Zhang
Join Date: Jan 2023
Posts: 4
Rep Power: 3
yifan111 is on a distinguished road
Quote:
Originally Posted by CFDKareem View Post
Ahh my apologies, tested it quickly on a 2D mesh. For a 3D mesh there is three ways to do this, that I know of:

1) Export the results to a CDAT, or CFD post file. You can select and export only the cell zone of interest. In CFD post do File>Export>Export and you can export the x, y, z, +quantities of interest. This will write a pretty nice CSV of the node data. (Do this. It's the easiest and give the best file format)

2) Export the results from Fluent into ACSII format, as you did. You can then export the mesh values for just the zone of interest and use Matlab to compare the two and only take the points of interest.

3) In Fluent do File>Interpolate. You can export an interpolation file of velocity on only 1 cell zone. This file format is a little gross, would not recommend.
Thank you very much for the suggestions, Kareem! Will definitely try that. Really appreciate it!
yifan111 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
adjacent cell zones for velocity inlet South P FLUENT 0 September 15, 2019 04:18
[ANSYS Meshing] Is it possible to generate mesh in different cell zones in Ansys meshing? aja1345 ANSYS Meshing & Geometry 0 October 3, 2018 14:22
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 04:27
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
Looping through Cell Zones in a Journal File adam.vaccaro Fluent UDF and Scheme Programming 0 August 1, 2013 22:45


All times are GMT -4. The time now is 06:00.