CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Boundary conditions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2009, 00:18
Default Boundary conditions
  #1
New Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
Regal is on a distinguished road
What is the most convenient way to apply boundary conditions in a FVM code? (i.e. how commercial codes like Ansys or Fluent do this?)
Until recently I used ghost cells to set boundary conditions in my program, but as I understand this is an explicit method and could lead to restrictions on the timestep. I am trying to simulate mostly diffusion driven flows near the onset of convective instability with concentration variation and thermodiffusion, so I would like to have the timestep as large as possible. Is there an implicit variant of the ghost cell method? If no, could you suggest what is the best way to proceed with the boundary conditions?
Regal is offline   Reply With Quote

Old   April 18, 2009, 09:33
Default
  #2
jed
Member
 
Jed Brown
Join Date: Mar 2009
Posts: 56
Rep Power: 10
jed is on a distinguished road
This actually isn't specific to FVM, but the most fundamental decision to make is whether to remove boundary dofs which are being enforced strongly. People really don't agree about this, removing the dofs makes the system slightly smaller and does not perturb the spectrum like penalty methods (which produce huge eigenvalues) and zeroing a row (which introduces additional asymmetry, perturbing eigenvalues). To leave the dofs in without messing up the spectrum, you can also zero the column. In function evaluation, zeroing the column is equivalent to correcting the boundary values before computing fluxes. In Jacobian assembly, you should remove these columns at the local level (doing columnwise operations on a global matrix in compressed row form is really expensive).

Using ghost cells is fine during function evaluation. When the value in the ghost cell is filled in by extrapolation, it is equal to a linear combination of values in nearby cells. When assembling the Jacobian, you can apply this linear combination at the local level.
jed 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
Impinging Jet Boundary Conditions Anindya Main CFD Forum 24 January 11, 2012 14:40
Problems with boundary conditions for a lowRekOmegaSST turbulence model cfdmarkus OpenFOAM Running, Solving & CFD 16 November 14, 2011 05:44
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 18:03
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
periodic boundary conditions Ahmed Abdelwahab FLUENT 4 March 9, 2000 17:36


All times are GMT -4. The time now is 16:37.