|
[Sponsors] |
November 12, 2017, 12:58 |
Importing profile data in CFX
|
#1 |
Member
Join Date: Jun 2017
Posts: 40
Rep Power: 9 |
Hello,
I have imported 3D profile data in cfx-pre and generated the def file without any problem. However, when I move the def file to a high performance compter and run using command line, CFX stops saying that it cannot open the profile data file. Cannot open: path/to/my/data.csv. The reason is obvious as I did not move the csv datafile on to the high performance computer. I would appreciate if someone has a clue how I can address the profile data files when I run CFX from command line? Thanks a lot. |
|
November 12, 2017, 18:13 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
On the cluster, just go to the location you saved the CSV files and use the command "pwd". that will tell you the current path and you can use that.
Or stick them in the same directory as all the other files. You will probably have to use ".." as the directory then as CFX actually runs, by default, in a directory generated off the current directory. |
|
November 13, 2017, 04:26 |
|
#3 | |
Member
Join Date: Jun 2017
Posts: 40
Rep Power: 9 |
Quote:
Thanks a lot. So if I understood correctly, you are saying that I need to copy the csv file into the cluster and edit the ccl file specifying the path to the csv on the cluster, yes? Many thanks |
||
November 13, 2017, 18:19 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Yes that is right
|
|
November 14, 2017, 04:54 |
|
#5 |
Member
Join Date: Jun 2017
Posts: 40
Rep Power: 9 |
Thanks Glenn
|
|
May 17, 2022, 16:35 |
|
#6 |
New Member
Nicolas Sargi
Join Date: May 2022
Posts: 7
Rep Power: 4 |
Hello.
I already have my .csv file for my 3D profile data on the clusters. The issue is within specifying the path: 1. If the path is in my local drive instead than on the cluster, then it is impossible for the cluster to find it. 2. If specified path is the cluster one, then my .def file gets corrupted and I cannot run it on the clusters. The errors are obvious to me, but I wondered how you solved this issue. Can you please be more specific for the steps, since I am now facing the same issue that you faced 5 years ago? Thanks, Nicolas |
|
May 17, 2022, 17:43 |
|
#7 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Which Ansys CFX version are you using?
To make my setup independent of the path, I have used a relative path, say "./myfile.csv" instead of a full path "/home/user/myfile.csv". I used Linux syntax, something similar for Windows, just .\myfile.csv
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 17, 2022, 20:53 |
|
#8 |
New Member
Nicolas Sargi
Join Date: May 2022
Posts: 7
Rep Power: 4 |
Hello.
Thanks for your answer. I am using ANSYS 2021R1. My local Ansys is Windows-based, while the clusters run on a Linux Machine. Is there a way to run my simulation in this parallel environment by re-defining the path in the .def file that I generate locally? Nicolas Sargi |
|
May 17, 2022, 20:57 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You can edit the def file cfx5cmds command line. Look at the CFX documentation for this command line option. You can also specify to add CCL at run time with the cfx5solve command (or from the Solver manager).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
September 30, 2023, 05:14 |
|
#10 | |
New Member
Vids
Join Date: Feb 2021
Posts: 5
Rep Power: 5 |
Quote:
In cfx pre there is an option to store the csv file locally rather than referencing it from a specific path. In the "Initialize profile data" dialog box just select profile data storage option as "copy profile data into setup". This will make a local copy of your csv file in cfx pre. Note that any changes you make in the original csv shall not be reflected unless you re initialize the data . In this way the .def file will never ask for path of your csv file. Hope this helps anyone who stumbles upon this problem with their CFD analysis. Regards VB |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys CFX 14.5 + trasnient "initialize profile data" | lentschi | CFX | 4 | June 28, 2013 08:15 |
Importing NACA0021 airfoil data into CFX | dougie | CFX | 2 | May 13, 2012 07:50 |
who can give me profile data about nasa 37 or 67?? | hitleo | Main CFD Forum | 2 | June 1, 2011 10:34 |
Importing CFX10 data into CFX 11 | Stephen | CFX | 0 | May 9, 2007 07:55 |
CFXSolver Error Message using Profile Data on B | Tobias | CFX | 0 | August 26, 2005 08:27 |