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

Waves not propagating in InterFoam simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2024, 02:33
Default Waves not propagating in InterFoam simulation
  #1
New Member
 
John Gibson
Join Date: Apr 2024
Posts: 1
Rep Power: 0
CFD_scientist is on a distinguished road
I've set up a simulation to observe water waves propagating over a sharp cavity in an otherwise flat tank bottom.

However, the waves do not seem to propagate into the tank.

My BlockMesh:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

scale 1;

vertices
(
( 0.0 0.0 0.1)
( 4.0 0.0 0.1)
( 4.0 0.04 0.1)
( 0.0 0.04 0.1)
( 0.0 0.0 0.7)
( 4.0 0.0 0.7)
( 4.0 0.04 0.7)
( 0.0 0.04 0.7)

( 4.0 0.0 0.0)
( 6.0 0.0 0.0)
( 6.0 0.04 0.0)
( 4.0 0.04 0.0)
( 4.0 0.0 0.7)
( 6.0 0.0 0.7)
( 6.0 0.04 0.7)
( 4.0 0.04 0.7)

( 6.0 0.0 0.1)
( 10.0 0.0 0.1)
( 10.0 0.04 0.1)
( 6.0 0.04 0.1)
( 6.0 0.0 0.7)
( 10.0 0.0 0.7)
( 10.0 0.04 0.7)
( 6.0 0.04 0.7)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (250 1 70) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (250 1 70) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) (250 1 70) simpleGrading (1 1 1)

);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(1 5 6 2)
);
}
ground
{
type wall;
faces
(
(0 1 2 3)
);
}
top
{
type patch;
faces
(
(4 5 6 7)
);
}
sides
{
type empty;
faces
(
(0 1 5 4)
(3 2 6 7)
);
}
);

mergePatchPairs
(
);


My setFields:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

defaultFieldValues
(
volScalarFieldValue alpha.water 0
);

regions
(
boxToCell
{
box (0 0 0) (10.0 1.0 0.2);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}


);


// ************************************************** *********************** //

I do not have any error messages, as the simulation actually works. But the waves do not propagate. Any ideas?
CFD_scientist is offline   Reply With Quote

Reply

Tags
interfoam solver


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
Forces in interFoam laminar simulation (based on DTCHull tutorial) sharath.murthy OpenFOAM 4 December 11, 2020 03:11
Tutorial - Heave and Pitch Simulation of Ship hull moving through head sea waves Cam FLUENT 6 February 13, 2019 19:12
Waves simulation / boundary condition problem Hecht OpenFOAM Running, Solving & CFD 0 August 30, 2018 05:07
How to separate two waves in my simulation result? hadesmajesty Main CFD Forum 0 October 13, 2009 01:42
CFD Animations of waves, ships, and turbulence---- Douglas Dommermuth Main CFD Forum 23 January 8, 2008 13:41


All times are GMT -4. The time now is 13:42.