# Boundary conditions for potentialFoam

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 7, 2011, 02:59 Boundary conditions for potentialFoam #1 Senior Member   Join Date: Nov 2009 Location: Michigan Posts: 135 Rep Power: 9 How can I specify boundary conditions for potentialFoam in terms of velocity potential? Or how can a dirichlet boundary condition for velocity potential be implemented in potentialfoam?

 May 8, 2011, 04:05 #2 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,231 Blog Entries: 1 Rep Power: 18 is in the dirichlet boundary condition the value of velocity fixed or zero at boundary conditions? so use { type fixedValue; value uniform (0 , 0 , 0); }

 May 8, 2011, 04:33 #3 Senior Member   Join Date: Nov 2009 Location: Michigan Posts: 135 Rep Power: 9 I want to specify phi=constant boundary condition. Is there any way to specify boundary condition for phi? As per my understanding, it writes the phi values after convergence. We can only input U and P values.

 May 8, 2011, 09:44 #4 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,231 Blog Entries: 1 Rep Power: 18 as i know phi = U & mesh.Sf() so when U is fixed at the boundary phi should be fixed too

 May 8, 2011, 14:26 #5 Senior Member   Join Date: Nov 2009 Location: Michigan Posts: 135 Rep Power: 9 Thank you. What does "U & mesh.Sf()" exactly mean mathematically? I am not aware of the syntax used in source code of openfoam. d(phi)/dn = Un, so does U & mesh.Sf() integrate U to get phi? Also How do I then calculate U so that I get desired value of phi ? Do I have to go for trial and error?

 May 8, 2011, 15:13 #6 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,231 Blog Entries: 1 Rep Power: 18 phi = U & mesh.Sf() U= velocity vector & = inner product mesh.Sf() = normal surface vector i guess you just need to divide ur desired phi into ur boundary area cross section,so you have desired U then evaluate U in dict!

 May 16, 2011, 22:14 #7 Senior Member   Join Date: Nov 2009 Location: Michigan Posts: 135 Rep Power: 9 Basic confusion: is phi flux or velocity potential?

 May 17, 2011, 04:11 #8 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,231 Blog Entries: 1 Rep Power: 18 its flux

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Anindya Main CFD Forum 25 February 27, 2016 13:58 lost.identity CFX 41 May 22, 2013 07:21 vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 09:38 Lionel S. Main CFD Forum 1 August 24, 2007 18:03 michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

All times are GMT -4. The time now is 20:25.

 Contact Us - CFD Online - Privacy Statement - Top