|
[Sponsors] |
Boundary condition and source in electromagnetic problems |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 22, 2005, 10:06 |
Hi, everyone!
I'm a new user
|
#1 |
Member
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17 |
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? |
|
November 22, 2005, 11:26 |
I haven't used electromagnetic
|
#2 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17 |
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, 08:15 |
Hi,
I am using mhdFOAM.
It s
|
#3 |
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 |
|
March 6, 2007, 16:20 |
Hi Rita
(With the choice of
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
|
|
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 |