Vous êtes sur la page 1sur 4

9/30/2014 Boundarycondition and source in electromagnetic problems -- CFD Online Discussion Forums

http://www.cfd-online.com/Forums/openfoam-pre-processing/62146-boundary-condition-source-electromagnetic-problems.html 1/4
[Sponsors]
Home
News
Forums
Wiki
Links
Jobs
Books
Events
Tools
Feeds
About
Search
Home > Forums > OpenFOAM Pre-Processing
Boundary condition and source in
electromagnetic problems
User Name User Name
Remember Me
Password Log in
REGISTER BLOGS COMMUNITY NEW POSTS UPDATED THREADS SEARCH
LINKBACK THREAD TOOLS DISPLAY MODES
November 22, 2005, 09:06 Hi, everyone! I'm a new user #1
evgenii
Member

Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij
Novgorod, Russia
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
9/30/2014 Boundarycondition and source in electromagnetic problems -- CFD Online Discussion Forums
http://www.cfd-online.com/Forums/openfoam-pre-processing/62146-boundary-condition-source-electromagnetic-problems.html 2/4
Posts: 52
Rep Power: 7
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?

November 22, 2005, 10:26 I haven't used electromagnetic #2
vvqf
Member

VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 7
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.

March 5, 2007, 07:15 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
9/30/2014 Boundarycondition and source in electromagnetic problems -- CFD Online Discussion Forums
http://www.cfd-online.com/Forums/openfoam-pre-processing/62146-boundary-condition-source-electromagnetic-problems.html 3/4

March 6, 2007, 15:20 Hi Rita (With the choice of #4
gschaider
Assistant Moderator

Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,807
Rep Power: 38
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

Previous Thread | Next Thread
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
Forum Rules
9/30/2014 Boundarycondition and source in electromagnetic problems -- CFD Online Discussion Forums
http://www.cfd-online.com/Forums/openfoam-pre-processing/62146-boundary-condition-source-electromagnetic-problems.html 4/4
Similar Threads
Thread Thread Starter Forum Replies Last Post
Boundary condition problems
(OpenFOAM)
Milos OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12
June 10, 2014
16:35
Boundary condition problems
imported msh
milos OpenFOAM Running, Solving & CFD 8
October 6, 2009
08:50
Problems implementing a
boundary condition
ogloth OpenFOAM Running, Solving & CFD 3
July 17, 2007
15:36
Problems with Fan boundary
condition
Nish FLUENT 2
August 27, 2004
18:27
Source balance and Boundary
condition
Angela Main CFD Forum 0
December 13,
2002 06:57
All times are GMT -4. The time now is 07:16.
Contact Us - CFD Online - Top

CFD Online

Vous aimerez peut-être aussi