|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hi, I am using USER FORTRAN to delvelop some new function in CFX. But when I want to get the internal data such as mesh topology, vertex coord, I can't find where to get it. I have read the tutorial of fluid structure interaction, the junction box routine has some example. CALL PEEKCS('/USER/MESHMOVE/CZONE',CZONE,'SKIP',CRESLT,CZ) I don't know where to find the details of the directory inside MMS. The directory structure of the memeroy is good but not documented.
Thank you. |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
Hi Patrick,
You did not mention what version of CFX-5 you are using. It will help others to guide you find what you are looking for or to know which facilities are available for getting such data. CFX-5.x offers a group of interface routines or facilities to access the memory system contents by the users. The structure of the memory system is dynamic. That is, subject to change at any time without notice (even within the simulation). It is best (as much as possible) not to use undocumented facilities since those are subject to change on each release to extend the functionality of the sofware. If you are using CFX-5.7 or the recently released 5.7.1, there are facilities to get mesh topology information. A directory listing facility similar to "ls -l" (UNIX) or "dir" (windows) may help you. If you want to see the contents of the directory /MY_DIR/MY_SUBDIR do as follows: CALL PSHDIR('/MY_DIR/MY_SUBDIR','STOP',CRESLT) CALL LISDAT CALL POPDIR('STOP',CRESLT) A sample listing of the contents will look like : Directory :- /FLOW/PHYSICS/MATERIALS/MT1 CPROP CHAR 1194833 140 IMAT INTR 685 1 TYPE CHAR 1148578 4 ALIAS CHAR 1148582 10 THPHASE CHAR 1148592 5 OPTION CHAR 1148597 16 DENSITY (DIRECTORY) NPROP INTR 688 1 The first entry is the name of the data area, the second the type (real, integer, character, logical, etc), the third is the location in the memory stack (not for the faint of heart) and finally the size in the memory stack. I am sure you want to know much more, but if you explain what you need to do. A lot of people here may be able to contribute. Also, the CFX-helpdesk is there to help you. All the best, Juan Carlos |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
Thank you. It's so kind of you. I am using cfx5.7. What I am going to do is the fluid structure interaction. The mesh is deforming because of the solid boundary's deformation. With facilities to get the mesh topology, are you talking about the "USER_GET_MESHDATA" routine? I will try it and see what happends, although it only available in CEL routine not in junction box routine.
|
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
Hi Patrick,
Are you aware that fluid structure interaction is already in CFX 5.7 as a beta feature, and a full version will be in 5.8 coming next year? Glenn Horrocks |
|
![]() |
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
I have the same question ,but I use the CFX5.6. There is phase change on the solid-fluid interface.I want to give a source term which is related with the solid face temperature on the contuity and energy equation.I need the cell data structure info! Give me some advice? Thanks BR
|
|
![]() |
![]() |
![]() |
#6 |
Guest
Posts: n/a
|
Hi Erica,
Your model is quite challenging and will involve extensive development time. However I suspect it can be done with CFX 5.7 (no gaurantees with 5.6). You should contact your CFX support rep. Glenn Horrocks |
|
![]() |
![]() |
![]() |
#7 |
Guest
Posts: n/a
|
Hi Glenn Horrocks what are the differences between 5.6 and 5.7?in my opinion ,it should save these info. it use unstructured grids, what is the facelists around a node array name
|
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to build-up the face-based data structure | Ya Squall | Main CFD Forum | 2 | September 12, 2007 01:32 |
Half face data structure for cgns | john | Main CFD Forum | 0 | September 28, 2006 05:52 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |
Standard data structure for AMR | Takuya Tsuji | Main CFD Forum | 1 | January 8, 2002 03:14 |
Data Structure for the unstructured finite volume method | Anthony | Main CFD Forum | 4 | February 2, 1999 20:24 |