LTSinterfoam-calculating several speeds without snappyhexmesh each time
Hi there,
as being mor a naval architect than being a software guy I configured the tutorials to suit my needs for cfd calculations. This includes that I prepare a case for each speed and run the ./Allrun command to finalise my calculations, which works really fine. But I guess I could save some time if I do this for the first speed and then use the produced mesh also for the next series of speeds without doing the preprocessing for every speed. What I assume to do is to copy the casefolder after the first calculation and rename the folder and then:confused:? What do I have to delete and how to start the next calculation with new speed? thanks for help, Ingenieur5 |
Hi,
I would suggest the following approach: 1. Run the first speed case until you are happy with the results 2. Clone your case using the foamCloneCase script 3. Modify your new Case U file in the zero folder 4. Run your new case. 5. Repeat 2-4 as many times as you like For part two the syntax is as follows: Code:
/pathToCases/FirstCase> cd .. This should be the general recipe. You probably need to adapt is for your particular set-up (for instance maybe change your turbulence parameters to match the new conditions). An inbetween step may be to use mapFields to start with the results of the previous speed in order to speedup convergence for your new case. Good luck, Tom |
Hi Tom,
thanx for the quick answer. Actually beinig outside the office I cannot do next calcuölations before the weekend. Will your proposal mean that in the cloned case the calculation use the 'old' mesh and just recalculate the new speed updated in the 0.org file? Will it than still use the available processors in parallel? I will try on the weekend but maybe you can give me a hint in advance if necessary ;) Best Ingenieur5 |
foamCloneCase simply copies the 0 constant and system folders into a new one. There will not be a 0.org folder copied. You can just copy that one to the new folder as well and than run the Allrun script. If this is unclear I would suggest that you read up on folder structures in Linux and carefully read the OpenFOAM user guide again.
Regards, Tom |
All times are GMT -4. The time now is 22:28. |