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

Boundary conditions for potentialFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2011, 02:59
Default Boundary conditions for potentialFoam
  #1
Senior Member
 
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16
doubtsincfd is on a distinguished road
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?
doubtsincfd is offline   Reply With Quote

Old   May 8, 2011, 04:05
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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);
}
nimasam is offline   Reply With Quote

Old   May 8, 2011, 04:33
Default
  #3
Senior Member
 
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16
doubtsincfd is on a distinguished road
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.
doubtsincfd is offline   Reply With Quote

Old   May 8, 2011, 09:44
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
as i know phi = U & mesh.Sf() so when U is fixed at the boundary phi should be fixed too
nimasam is offline   Reply With Quote

Old   May 8, 2011, 14:26
Default
  #5
Senior Member
 
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16
doubtsincfd is on a distinguished road
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?
doubtsincfd is offline   Reply With Quote

Old   May 8, 2011, 15:13
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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!
nimasam is offline   Reply With Quote

Old   May 16, 2011, 22:14
Default
  #7
Senior Member
 
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16
doubtsincfd is on a distinguished road
Basic confusion:

is phi flux or velocity potential?
doubtsincfd is offline   Reply With Quote

Old   May 17, 2011, 04:11
Default
  #8
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
its flux
nimasam is offline   Reply With Quote

Reply


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
Impinging Jet Boundary Conditions Anindya Main CFD Forum 25 February 27, 2016 12:58
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 07:21
[Netgen] boundary conditions and mesh exporting vaina74 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2010 09:38
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 18:03
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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