Boundary condition

Numerical methods and mathematical models of Elmer
Post Reply
Tharanga
Posts: 2
Joined: 23 Dec 2014, 09:29
Antispam: Yes

Boundary condition

Post by Tharanga »

Hi, Im new to Elmer and I want to write a UDF to give a velocity boundary condition at an interior boundary face. There two fluid zones and one is a porous media. At the interface I want to make velocity U.n=Const.*P(I)-P(c).In here P(I) and P(c) are pressures from each side. Please help. Thank you.
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Boundary condition

Post by annier »

Hi Tharanga,
The methodology of writing User Defined Functions has been described in Elmer Programmers Tutorial(Chapter 1). Also, you can get some more information at Elmer Solver Manual(Chapter 13). After you begin writing a minimal user defined function/solver, you can put forward your specific question again in the forum.



Yours
Anil Kunwar
Last edited by annier on 08 Jan 2015, 11:33, edited 1 time in total.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Tharanga
Posts: 2
Joined: 23 Dec 2014, 09:29
Antispam: Yes

Re: Boundary condition

Post by Tharanga »

Thanks!!!!!
Post Reply