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

How to generate a new 6DoF.dat?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 19, 2012, 12: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: 4
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, 18:02
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,503
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   November 20, 2012, 05:37
Default
  #3
New Member
 
Julie Marie
Join Date: Oct 2012
Location: Trondheim, Norway
Posts: 3
Rep Power: 4
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

Thread Tools
Display Modes

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 On
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 13:47
How to use Cart3D to generate Cartesian grid? wyuanding ANSYS 2 December 1, 2011 06:48
How to generate the Cartesian grid wyuanding Main CFD Forum 2 November 28, 2011 06:35
How to generate this kind of grid with slope bottom lin OpenFOAM Native Meshers: blockMesh 3 January 18, 2011 05:56
how to generate postscript file? leo CD-adapco 6 May 27, 2003 23:38


All times are GMT -4. The time now is 01:47.