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

[Other] How to add water in a non-rectangular bounding box?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2023, 03:07
Default
  #21
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,067
Rep Power: 26
Yann will become famous soon enough
Hello,

Thanks but it seems your link is not working.

Yann
Yann is offline   Reply With Quote

Old   October 10, 2023, 08:04
Default
  #22
New Member
 
Rhea
Join Date: Oct 2023
Posts: 13
Rep Power: 2
bunnybunny is on a distinguished road
Sorry, I don't understand why it's suddenly not working. Can you try this instead? thank you.
Attached Files
File Type: zip Trial.zip (7.2 KB, 1 views)
bunnybunny is offline   Reply With Quote

Old   October 10, 2023, 08:33
Default
  #23
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,067
Rep Power: 26
Yann will become famous soon enough
Thanks for the upload.

OK so 2 things:

1- Your case run out of the box on my laptop with v2112
2- Your slanted wall is not defined in your blockMeshDict: only 5 out of 6 faces constituting your domain are defined in the boundary section. The missing face is automatically defined as defaultFaces with a type empty as you can see in the blockMesh log:

Code:
Creating block mesh topology
--> FOAM Warning : 
    From Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, const cellShapeList&, const faceListList&, const wordList&, const Foam::PtrList<Foam::dictionary>&, const Foam::word&, const Foam::word&, bool)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 920
    Found 1 undefined faces in mesh; adding to default patch defaultFaces
Obviously we don't want to have a type empty face here but a wall.

I'm actually surprised the solver starts, I would have expected it to throw a fatal error complaining about a missing boundary condition for defaultFaces.
Anyway, try fixing your blockMesh first and see if it solves your issue.

Yann
Yann is offline   Reply With Quote

Reply

Tags
beach, multiphase, slope, water, waves


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
Mass imbalance problem in multiphase water and steam CFX case Antech CFX 1 October 26, 2020 04:03
phantom region created outside blockmesh bounding box derekm OpenFOAM Pre-Processing 0 May 15, 2014 10:31
2D Box dropping into water kailingkk Fluent Multiphase 1 April 9, 2014 19:06
snapyHexMesh Bounding box vmsandip2011 OpenFOAM Pre-Processing 5 May 26, 2012 02:13
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


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