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

Define a volume of water above a sloped bed using setFields.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 13, 2018, 16:59
Default Define a volume of water above a sloped bed using setFields.
  #1
New Member
 
Join Date: Apr 2018
Posts: 2
Rep Power: 0
behnazghp is on a distinguished road
Hello
Could someone please help me define a volume of water above a sloped bed? Basically, I need to define a triangular volume of water in setField. Please see the figure attached for what I am looking for.

Thanks
Attached Images
File Type: png cross-section6.png (9.6 KB, 19 views)
behnazghp is offline   Reply With Quote

Old   April 16, 2018, 14:51
Default
  #2
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 35
Rep Power: 7
gkarlsen is on a distinguished road
Quote:
Originally Posted by behnazghp View Post
Hello
Could someone please help me define a volume of water above a sloped bed? Basically, I need to define a triangular volume of water in setField. Please see the figure attached for what I am looking for.

Thanks
Maybe take a look at "rotatedBoxToCell" keyword for your setFieldsDict. Best bet would be funkySetFields which is part of swak4foam
gkarlsen is offline   Reply With Quote

Reply

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 set periodic boundary conditions Ganesh FLUENT 14 November 26, 2018 12:26
Laminar Kinetic Energy Model (Walters 2008) logoswort Fluent UDF and Scheme Programming 2 May 19, 2017 20:41
multiphaseEulerFoam high Courant number Frenk_T OpenFOAM 5 November 24, 2016 04:23
An odd ERROR mdakbari Fluent UDF and Scheme Programming 7 April 4, 2016 05:30
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 03:21.