CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Data acquisition (https://www.cfd-online.com/Forums/cfx/68530-data-acquisition.html)

Katie September 23, 2009 05:37

Data acquisition routines
 
There are a lot of useful data acquisition routines in CFX.

But can anybody answer me on following question.

Is there any way in CFX to call low level routines allowing to inspect matrixes of linear set of equations?

Sometimes it is extremely needed to inspect these matrixes to explore the reasons of calculation failures.

ghorrocks September 23, 2009 07:41

Yes. You need to use user fortran to do this.

Katie September 23, 2009 08:43

OK. I have some experience of fortran-code implementation in CFX.

Before posting this question I’ve carefully studied “User fortran” chapter of Modeling Guide but I didn’t find section with description of internal routines and variables in CFX that could give me the possibility to inspect matrixes of linear set of equations.

Could you tell where can I find description of compete list of internal routines and variables needed for my purposes?

For example, how can I address to right hand side matrix and left hand side vector?

ghorrocks September 23, 2009 18:47

You will have to talk to support to get this information.

Katie September 24, 2009 10:09

OK. While my request is under processing in support, I have another question regarding this topic.

Let’s suppose that there is a way to address to these matrixes of linear set of equations.

Now, I need to operate with these matrixes by transposing, inversing them and calculating norms, determinants and other matrix properties.

Matrix operations and calculation of matrix properties in fortran-code can be time consuming because of large size of matrixes.

It is evident that these matrix operations are already coded inside of CFX software because they are needed during solution search and are called many times during iterations.

Is it possible to call these native CFX functions needed for matrix operations and calculation of matrix properties from fortran-code?

ghorrocks September 24, 2009 19:27

Again this is a question for support. Very few people use fortran in CFX as you can access all the functionality almost all users need through CCL and CEL expressions. This means very few users are experienced in fortran and the documentation for it is not the best.

I personally have never had to use fortran for anything serious in CFX.


All times are GMT -4. The time now is 17:41.