|
[Sponsors] |
referencing profile .csv file when solving on HPC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 10, 2021, 00:01 |
referencing profile .csv file when solving on HPC
|
#1 |
New Member
Join Date: Jul 2021
Posts: 6
Rep Power: 5 |
I am trying to run a simulation on my universities cluster to find the aerodynamic damping of an airfoil. I am using mesh deformation with a .csv file from a modal analysis for the profile. I am setting up the simulation on my PC so the profile is pointing towards the .csv file on my computer. The issue I am having now is when I transfer the .def file onto the cluster and try to run it, it cannot find the profile .csv file which is on my computer. Even if I transfer the .csv file also it is still trying to search in the wrong place for it. Is there any way I can get it set up so it will be able to find the csv file while running on the cluster?
|
|
July 10, 2021, 00:43 |
|
#2 |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
I have done what you are describing, so I know it is possible. Are you sure you saved the csv file to the correct folder? Where are you trying to save it and where is it trying to search for it?
|
|
July 10, 2021, 00:51 |
|
#3 |
New Member
Join Date: Jul 2021
Posts: 6
Rep Power: 5 |
I have the csv file in the same folder as the .def file on the cluster. The problem is the path to that file is different on the cluster vs. my computer. So in CFX pre it was set up pointing to the file but that path does not exist on the cluster which is causing the error where it cannot find it.
|
|
July 10, 2021, 00:54 |
|
#4 |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
Oh, so you're running the simulation with a bash script?
|
|
July 10, 2021, 00:54 |
|
#5 |
New Member
Join Date: Jul 2021
Posts: 6
Rep Power: 5 |
Yup, I'm running it with a bash script.
|
|
July 10, 2021, 01:03 |
|
#6 |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
Ah, okay. Sorry, I have only done this with CFX installed on the HPC I was using. I do not know why it isn't working for you... Can't you change the path in the script?
|
|
July 10, 2021, 01:22 |
|
#7 |
New Member
Join Date: Jul 2021
Posts: 6
Rep Power: 5 |
If you can change the path in the script I am not aware of how. Looking at the documentation for cfx5solve I don't see any option that seems like it would change the path.
|
|
July 10, 2021, 05:17 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Try changing the path to the csv file to .\FileName.csv, and keep the csv file in the local directory. Hopefully it does not resolve that to the absolute path and just keeps it as a relative path.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 10, 2021, 10:22 |
|
#9 |
New Member
Join Date: Jul 2021
Posts: 6
Rep Power: 5 |
That didn't work but trying to do that I figured it out. There was a drop down with default setting of referencing external file that has the option to copy profile data into the file so that ended up working for me. Thanks for all of the help.
|
|
July 10, 2021, 15:24 |
|
#10 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
What version of the software are you running?
Later versions allow you to include the .csv file into the definition file during import; therefore, there is no longer a need to keep your imported .csv files around. The cfx5solve script will extract the file at run-time wherever the simulation is being executed.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 10, 2021, 18:09 |
|
#11 | |
New Member
Join Date: Jul 2021
Posts: 6
Rep Power: 5 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |