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

CFX not writing mesh coordinates correctly when exported

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2017, 10:30
Default CFX not writing mesh coordinates correctly when exported
  #1
Member
 
AHMAD
Join Date: Oct 2013
Posts: 35
Rep Power: 13
afikr is on a distinguished road
Hi all,

I have done a simulation on a axial type rotor compressor.

I am trying to export data from CFD Post and I would like to calculate averaged values using Matlab from the data I wish to export.

I want to calculate the averaged values of velocity of the outlet plane at a constant radius line.

So, I exported the Velocity and Radius(Both values are selected from the list of variables that are available to export) values at the outlet using the export function from the File drop down menu in CFD Post.

When I did that, I found that the values of radius is not constant along the pitch whereas it should be constant. For example, the radius at the Hub and Shroud should have a constant values of radius. When I drew the domain, I am certain that I specified a constant radius at the hub and shroud.

Can somebody help me why the data is not giving me data along a constant radius?
afikr is offline   Reply With Quote

Old   March 22, 2017, 11:02
Default
  #2
Member
 
AHMAD
Join Date: Oct 2013
Posts: 35
Rep Power: 13
afikr is on a distinguished road
To make it clear, I have attached a image of a plot that I made. It is clear that the radius at the shroud is not constant and varying.
Attached Images
File Type: jpg Shroud Radius.jpg (24.1 KB, 22 views)
afikr is offline   Reply With Quote

Old   March 22, 2017, 17:50
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It will have something to do with the way you drew the geometry, the way you meshed it or the way you are extracting the data. You are going to have to look at all those steps on your model carefully and figure out where the variation comes from.
ghorrocks is offline   Reply With Quote

Old   March 23, 2017, 06:15
Default
  #4
Member
 
AHMAD
Join Date: Oct 2013
Posts: 35
Rep Power: 13
afikr is on a distinguished road
Hi Ghorrocks,

I tried extracting the polyline at the shroud outlet. I got the same results.

I am pretty sure that I had a constant radius at the hub and radius when drawing the geometry.

Cheers
afikr is offline   Reply With Quote

Old   March 23, 2017, 06:46
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please post on image of your geometry and where you polyline you are using is located. Also include an image of your mesh.
ghorrocks is offline   Reply With Quote

Old   March 23, 2017, 07:07
Default
  #6
Member
 
AHMAD
Join Date: Oct 2013
Posts: 35
Rep Power: 13
afikr is on a distinguished road
The green line is the polyline at Shroud line of the Outlet Plane.

The grids are hexahedral and generated using ICEM.
Attached Images
File Type: jpg Outlet.jpg (150.0 KB, 10 views)
afikr is offline   Reply With Quote

Old   March 23, 2017, 18:22
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You are going to have to show more information than that if we are going to help you...
ghorrocks is offline   Reply With Quote

Old   April 6, 2017, 11:42
Default
  #8
Member
 
AHMAD
Join Date: Oct 2013
Posts: 35
Rep Power: 13
afikr is on a distinguished road
Hi Ghorroks

Sorry for the late reply. I have been quite busy lately.

There are several images that I have attached.

The first image is coordinate points at the outlet plane hub line from ICEM.

The second one is a plot of the hub line radius using the coordinates that I obtained from ICEM. **radius =sqrt(X^2 + Y^2). Coordinates are in cm.

I realized that I am able to obtain a constant hub radius if I round the digits after the decimal points to the desired significant figures.

However, I have a really small y+ value(less than 2). This means that significant figures after the decimal are important and rounding them will not allow me to capture the values near to the boundary(hub line).

The third and fourth image is a plot of the grid using matlab. You can clearly see that the hub line is not constant.

As mentioned earlier , I intend to draw a constant radius line from the hub line to the shroud. I will then use this line as a grid to interpolate my results from CFX. I am interested in finding the average along the pitch line of my domain. Basically it is the same as drawing polylines in CFD Post but will get the same results( not constant line) when exporting the polylines and plotting the lines in MATLAB.

I hope that you can understand what I am trying to explain.

best
Attached Images
File Type: jpg Outlet Plane Hub Line.JPG (72.5 KB, 8 views)
File Type: jpg Hub Radius.JPG (61.2 KB, 9 views)
File Type: jpg plane.JPG (163.2 KB, 9 views)
File Type: jpg plane 2.JPG (37.5 KB, 7 views)
afikr is offline   Reply With Quote

Old   April 6, 2017, 18:52
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Is this variation in your geometry? Or your mesh? What about if you use the double precision solver?
ghorrocks is offline   Reply With Quote

Old   April 7, 2017, 10:58
Default
  #10
Member
 
AHMAD
Join Date: Oct 2013
Posts: 35
Rep Power: 13
afikr is on a distinguished road
I tried using a double precision solver but the results are pretty much the same.

I drew a polyline at the intersection of the hub and outlet hence obtaining the hub line.

Then I plotted the radius against theta of the polyline.

If I zoom out the graph, it will look like a constant radius line.
Attached Images
File Type: jpg Hub Polyline 2.JPG (23.5 KB, 3 views)
File Type: jpg Hub Polyline.JPG (121.5 KB, 3 views)
afikr is offline   Reply With Quote

Reply

Tags
ansys, cfdpost, export data, matlab


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Mesh replacement in sub-domains while cfx simulation is in progress chiragsvnit CFX 4 December 11, 2015 13:25
Mesh Adaption in CFX. Kushagra Mittal CFX 1 August 31, 2011 09:17


All times are GMT -4. The time now is 11:47.