CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

How to generate a new 6DoF.dat?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2012, 11:48
Default How to generate a new 6DoF.dat?
  #1
New Member
 
Julie Marie
Join Date: Oct 2012
Location: Trondheim, Norway
Posts: 3
Rep Power: 13
julmh is on a distinguished road
Hi.
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
julmh is offline   Reply With Quote

Old   November 19, 2012, 17:02
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
    Code:
    wmake gen6DoF
    Or if you are already working from within the "gen6DoF" folder, simply run:
    Code:
    wmake
  2. Then go into the "constant" folder and run the utility, like this:
    Code:
    cd constant
    gen6DoF
    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:
    Code:
    cd ..
    ./Allrun
And that's it!


Best regards,
Bruno
afshinb likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 20, 2012, 04:37
Default
  #3
New Member
 
Julie Marie
Join Date: Oct 2012
Location: Trondheim, Norway
Posts: 3
Rep Power: 13
julmh is on a distinguished road
Thanks Bruno!
I have generated the file and everything works fine

Regards Julie
julmh is offline   Reply With Quote

Reply

Tags
6dof, sloshing


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to generate STL files for idealized geometries? werder85 Main CFD Forum 0 November 1, 2012 12:47
How to use Cart3D to generate Cartesian grid? wyuanding ANSYS 2 December 1, 2011 05:48
How to generate the Cartesian grid wyuanding Main CFD Forum 2 November 28, 2011 05:35
[blockMesh] How to generate this kind of grid with slope bottom lin OpenFOAM Meshing & Mesh Conversion 3 January 18, 2011 04:56
how to generate postscript file? leo Siemens 6 May 27, 2003 23:38


All times are GMT -4. The time now is 02:52.