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

Dambreak initial condition sine wave

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By anon_q

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2019, 16:23
Default Dambreak initial condition sine wave
  #1
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8
joshmccraney is on a distinguished road
Hi all!

I'm running the tutorial dambreak, and have change the geometry to a rectangle (no bump on the bottom) and the initial condition to a circular arc (see image)

RChan.png

Do you know how I can customize this further, like make the interface a sine wave?
joshmccraney is offline   Reply With Quote

Old   August 8, 2019, 16:48
Default
  #2
Senior Member
 
Join Date: Mar 2018
Posts: 115
Rep Power: 8
anon_q is on a distinguished road
Hello,
Take a look to this post: Sinusoidal initialisation of initial holdup field.

You can use the suggested utilty waves2Foam or some other tools like:

funkySetFields: http://openfoamwiki.net/index.php/Co...funkySetFields
swak4foam: https://openfoamwiki.net/index.php/Contrib/swak4Foam

For a recent version of swak4foam you can check this repository and you can find the installation instructions.
joshmccraney likes this.
anon_q is offline   Reply With Quote

Old   August 8, 2019, 17:00
Default
  #3
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8
joshmccraney is on a distinguished road
Thanks, I'll check this out!
joshmccraney is offline   Reply With Quote

Reply


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
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Wrong fluctuation of pressure in transient simulation caitao OpenFOAM Running, Solving & CFD 2 March 5, 2015 21:33
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24


All times are GMT -4. The time now is 11:41.