CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   How to generate a new 6DoF.dat? (

julmh November 19, 2012 12:48

How to generate a new 6DoF.dat?
I am a student working with a sloshing case in interDyMFoam. I have changed values in the file gen6DoF.C and now I want to generate a new 6DoF.dat file. Does anyone know how to do this?

Regards Julie

wyldckat November 19, 2012 18:02

Greetings Julie,

Very simple - all of the following commands assume that you are working in a terminal that has OpenFOAM ready to be used and that you are already located in your own copy of the original tutorial case "multiphase/interDyMFoam/ras/sloshingTank3D6DoF":
  1. Build the custom utility by running:

    wmake gen6DoF
    Or if you are already working from within the "gen6DoF" folder, simply run:

  2. Then go into the "constant" folder and run the utility, like this:

    cd constant

    This of course assumes that your were working from the folder "sloshingTank3D6DoF".
  3. You can now go back the the case folder and run Allrun:

    cd ..

And that's it!

Best regards,

julmh November 20, 2012 05:37

Thanks Bruno!
I have generated the file and everything works fine:)

Regards Julie

All times are GMT -4. The time now is 10:24.