CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   How to get slope information in user fortran? (http://www.cfd-online.com/Forums/cfx/20469-how-get-slope-information-user-fortran.html)

Patrick Louis July 3, 2004 15:25

How to get slope information in user fortran?
 
Hi all, I am using cfx5.7 to modeling some erosion problem. In my case, I want to get the slope at each vertex on the boundary. Does anybody know how to do that? I think the most important thing is to get the grid topology info at the boundary. But I can't find any information in the help file.

Another question is that science my boudary is moving and the displacement at each node is known after each time step. Can I modify the coordinates of these nodes and let cfx do the mesh deforming job? I didn't find the macro to modify the coordinates.

Thank you!

Glenn Horrocks July 4, 2004 19:24

Re: How to get slope information in user fortran?
 
Hi Patrick,

By slope of the boundary I assume you mean the boundary normal vectors. You can get these using the area_x(), area_y() and area_z() CEL functions.

The CFX5.7 moving mesh works in the way you describe, that is it is possible to specify the position of the boundary nodes at each timestep and CFX smooths the internal mesh to match.

Glenn

Patrick Louis July 4, 2004 21:33

Re: How to get slope information in user fortran?
 
Thank you. Do you know how to get the grid topology information such as the neighbour of vertex, element's vertex, neighbour of elements? In fluent, it's easy to get these information. But in cfx, I haven't found the access.

Glenn Horrocks July 5, 2004 19:40

Re: How to get slope information in user fortran?
 
Hi Patrick,

I think you can access that information in Use Fortran. I don't use fortran so I don't really know how to access it. Have a look on the documentation and the CFX Community site.

Glenn


All times are GMT -4. The time now is 20:12.