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

Obtaining the Nearest Node number to point

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2014, 09:55
Default Obtaining the Nearest Node number to point
  #1
New Member
 
Join Date: Apr 2013
Posts: 12
Rep Power: 13
Krzychu (Chris) is on a distinguished road
Hi!

I have created transient simulations with large deformations, and I want to plot some variables from points near the walls. The position of the wall changes and so does the position of the points of interest. I can make charts for points generated by the node number option and that works great. But I want around 25 points form 20 different meshes, and that is too much to input by hand.

Here is my vision on how to do it:
I have a ccl script to put the point in the right position with no deformation
use a function or expression or sth to get the value showed in the GUI point creator "nearest node".
change the definition of point to node number
create charts
export to file

The problem is in point 2. Is it possible to somehow retrieve the number of the node, nearest to a point?

Thank you
Krzychu
Krzychu (Chris) is offline   Reply With Quote

Old   December 8, 2014, 18:52
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
monitor points can be set to either interpolate or use the nearest nodal value. They can also be set to move with moving mesh or stay stationary. And you can access monitor points in CEL with the probe() function.
ghorrocks is offline   Reply With Quote

Old   December 8, 2014, 18:58
Default
  #3
New Member
 
Join Date: Apr 2013
Posts: 12
Rep Power: 13
Krzychu (Chris) is on a distinguished road
Thank you Glen.

How about doing this in cfx post? I don't won't to run the calculations again. I don't think I have the patients to wait for the results.

Cheers
Krzychu
Krzychu (Chris) is offline   Reply With Quote

Old   December 8, 2014, 19:00
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I think equivalent functionality is available in CFD-Post with a point object.
ghorrocks is offline   Reply With Quote

Old   December 8, 2014, 19:05
Default
  #5
New Member
 
Join Date: Apr 2013
Posts: 12
Rep Power: 13
Krzychu (Chris) is on a distinguished road
Thanks again,

I will keep looking and restart the simulations.

Cheers
Have a nice day
Krzychu
Krzychu (Chris) is offline   Reply With Quote

Old   December 14, 2014, 07:31
Default
  #6
New Member
 
Join Date: Apr 2013
Posts: 12
Rep Power: 13
Krzychu (Chris) is on a distinguished road
Hi again,

I found the option to track the node in the CFX-pre. I couldn't see it because I was still using cfx 14.0.

I noticed I have a different problem. The wall shear monitor is excluded from the output variable list and I do not know why, and how to fix it.

I made a rigid test case, a tube with a rectangular cross-section, to know for sure where the boundaries are. I put a monitor point on the bottom wall and run the simulation. I changed meshes, viscosity, output variables, but it did not help. Any ideas how to fix this?

Quote:

Monitor Point: Monitor Point 1

Domain: Default Domain
User specified location (x,y,z) : 5.000E-02, 0.000E+00, 5.000E-01

Excluded variables from output variable list:
Wall Shear X
Wall Shear Y
Wall Shear Z
I even checked and these are the only variables excluded from all available.

Thanks
Krzychu (Chris) is offline   Reply With Quote

Old   December 14, 2014, 17:12
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That is because points can be anywhere in space but wall shear only exists at walls. So in general wall shear is not available to points.

Hopefully a simple work-around could be to define a short line segment or small area on your wall and use the lineAve() or areaAve() functions to return a wall shear. As long as the line or area is small then it is effectively a point monitor.
ghorrocks is offline   Reply With Quote

Old   December 14, 2014, 21:03
Default
  #8
New Member
 
Join Date: Apr 2013
Posts: 12
Rep Power: 13
Krzychu (Chris) is on a distinguished road
Thanks again Glenn.

It makes sense that you cannot get WSS at a point, but then why is the option available in the monitor settings in pre. That does not make sense as its not consistent.

Is there a way in introduce a line or an area without editing the geometry?

Cheers
Krzychu
Krzychu (Chris) is offline   Reply With Quote

Reply

Tags
cfx, chart, export, node number, transient


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
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 19:32
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 09:14
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 16:03
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 05:49
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 11:37


All times are GMT -4. The time now is 14:01.