CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Which Method for These Strange Electrostatic BCs?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2015, 19:11
Default Which Method for These Strange Electrostatic BCs?
  #1
New Member
 
Cory
Join Date: Jun 2015
Posts: 6
Rep Power: 10
cgerrity is on a distinguished road
Hello,

I am trying to specify the boundary conditions on a rectangular solid, with N thin strips on one side who are at a constant potential, and N similar strips on the opposite side that are perpendicular to the first set. All strips on the same side have the same potential. There are gaps between the strips themselves and between the strips and the edges. The regions in between the strips should be type zeroGradient, probably.

So I'm trying to figure out the best way to do this *without* creating N distinct patches on each side (N is pretty large) and trying to negotiate the strange mesh I'd have to make.

Is there a way to implement this using codedFixedValue as a patch type for two faces of the block and then create some sort of piecewise function representing the strips? E.g. something like:
if region of boundary patch is between (x, y) and (x+a, y+b), then potential = some constant.
else boundary patch is zeroGradient.

Also, is there a way to specify an arbitrary potential as a boundary condition (e.g. by reading in some scalar field via a text file)? Can I manually set the boundary condition value for all individual (x,y) on a patch?

Thank you so much for your help.
cgerrity 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
Periodic BC's for Thermal Lattice Boltzmann Method anuhar Main CFD Forum 0 May 4, 2009 03:45
Code for most powerfull FDV Method D.S.Nasan Main CFD Forum 6 September 4, 2008 02:08
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 01:18
Info on method of lines approach charlie ryan Main CFD Forum 2 August 9, 2007 11:06
hess-smith method and fvm method yangqing FLUENT 0 March 20, 2002 19:25


All times are GMT -4. The time now is 23:30.