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

Boundary condition and source in electromagnetic problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2005, 10:06
Default Hi, everyone! I'm a new user
  #1
Member
 
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17
evgenii is on a distinguished road
Hi, everyone!
I'm a new user of OpenFoam, so I have a few questions.

I'm trying to use OpenFoam to solve some electromagnetic problems.

First of all, I don't understand do I need to write file "boundary" in "/constant/PolyMesh" or OpenFoam will generate it. If it will, how can it specify correct boundary conditions(I mean "physical type")? If I need to write this file on my own, how can I calculate "nFaces" and "startFace" for each patch?

Second question. I need to specify zero tangential component of electric field at the boundary.(Normal component is arbitrary). Should I determine special physicalType for boundary condition? I hope you'd give me advise how to do it better.

And the last question. I need to to specify source in the centre of my mesh as dipole alternately changing in time(= electric current). How can I do it?
evgenii is offline   Reply With Quote

Old   November 22, 2005, 11:26
Default I haven't used electromagnetic
  #2
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
I haven't used electromagnetic solver.

usually you don't need to write boudary file, OpenFoam will generate it when you do application to generate the mesh. But you can also write your own boundary file sometimes.

please read User/Programming Guide, search for "boundary conditions", I think you can find what you want.
vvqf is offline   Reply With Quote

Old   March 5, 2007, 08:15
Default Hi, I am using mhdFOAM. It s
  #3
mss
Guest
 
Posts: n/a
Hi,
I am using mhdFOAM.
It seems that the boundary conditions we can impose on the magnetic
field B are only of Dirichlet type (B constant). Is it possible to impose
a Neuman type condition (given rotational of B, or imposed
current)?

thank u,
Rita
  Reply With Quote

Old   March 6, 2007, 16:20
Default Hi Rita (With the choice of
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Rita

(With the choice of possible BCs you are refering to FoamX?)

You can replace the fixedValue-BCs with fixedGradient (or mixed) in the B file.

For the more complicated stuff (rotational etc) you might have to write your own BC
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
[Commercial meshers] Boundary condition problems (OpenFOAM) Milos OpenFOAM Meshing & Mesh Conversion 13 October 13, 2016 20:58
Boundary condition problems imported msh milos OpenFOAM Running, Solving & CFD 8 October 6, 2009 09:50
Problems implementing a boundary condition ogloth OpenFOAM Running, Solving & CFD 3 July 17, 2007 16:36
Problems with Fan boundary condition Nish FLUENT 2 August 27, 2004 19:27
Source balance and Boundary condition Angela Main CFD Forum 0 December 13, 2002 07:57


All times are GMT -4. The time now is 07:05.