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

User_get_meshdata

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2018, 01:59
Default User_get_meshdata
  #1
New Member
 
Join Date: Apr 2017
Posts: 4
Rep Power: 9
SUNGAL is on a distinguished road
Hello everybody!
I'm working on a tube. In my work I'm using a Fortran subroutine that is compiled to CFX (User CEL). I need to get access to the elements coordinates or Element-to-vertex Connectivity in the inlet of a tube. Based on CFX documentation it is possible by calling "USER_GET_MESHDATA" subroutine. However, I think first I need to call "USER_GET_MESH_INFO" subroutine to obtain the values of integer variables defining these arrays, is not it? I'm just starting with CFD. Could you help me?
SUNGAL is offline   Reply With Quote

Old   February 26, 2018, 02:21
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by SUNGAL View Post
I'm just starting with CFD.
Before going too deep into the FORTRAN jungle, tell us why you need the coordinates at the inlet face? Do you want to prescribe inlet flow profiles?
Lance is offline   Reply With Quote

Old   February 26, 2018, 03:04
Default
  #3
New Member
 
Join Date: Apr 2017
Posts: 4
Rep Power: 9
SUNGAL is on a distinguished road
I'm sorry, I'm just starting with Fortran in CFX. I want to deform the grid in the process of solving. I want to use something like this:
(x, y, z) - mesh coordinates.
(xx, yy, zz) = (x, y, z) + (u(x, y, z), v(x, y, z), w(x, y, z))
SUNGAL is offline   Reply With Quote

Old   February 26, 2018, 03:18
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Is there a reason you cannot use the built in mesh deformation functions? Have a look at Specified displacement
Lance 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



All times are GMT -4. The time now is 21:18.