|
[Sponsors] |
December 8, 2014, 09:55 |
Obtaining the Nearest Node number to point
|
#1 |
New Member
Join Date: Apr 2013
Posts: 12
Rep Power: 13 |
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 |
|
December 8, 2014, 18:52 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
December 8, 2014, 18:58 |
|
#3 |
New Member
Join Date: Apr 2013
Posts: 12
Rep Power: 13 |
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 |
|
December 8, 2014, 19:00 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
I think equivalent functionality is available in CFD-Post with a point object.
|
|
December 8, 2014, 19:05 |
|
#5 |
New Member
Join Date: Apr 2013
Posts: 12
Rep Power: 13 |
Thanks again,
I will keep looking and restart the simulations. Cheers Have a nice day Krzychu |
|
December 14, 2014, 07:31 |
|
#6 | |
New Member
Join Date: Apr 2013
Posts: 12
Rep Power: 13 |
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:
Thanks |
||
December 14, 2014, 17:12 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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. |
|
December 14, 2014, 21:03 |
|
#8 |
New Member
Join Date: Apr 2013
Posts: 12
Rep Power: 13 |
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 |
|
Tags |
cfx, chart, export, node number, transient |
|
|
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 |