# magnetic field/vector potent./internal bound.

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

 April 25, 2012, 16:53 magnetic field/vector potent./internal bound. #1 Member   Martin Join Date: Dec 2011 Location: Latvia Posts: 54 Rep Power: 6 Hello, foamers. Still looking how to make a magnetic field solver. Solver that was introduced with OF 2.1 - magneticFoam - didn't work for me so I decided to try solver that uses vector potential A. Problem is that things just doesn't work that simple and everything reduces that Openfoam has problems with internal patches (in my opinion). What I want to achieve is this, but in 3D: I managed to get internal patches with gmsh, but it seems it doesn't take in consideration inside of the material with higher permeability. B lines, as you can observe in image below, can't get in. I think the problem is with the boundary conditions because they are defined only from one side. Could that be a reason? I really don't see myself making a multi-region-magnetic-foam as I hope in simpler solution. At the moment I'm still trying to get two sided wall running, maybe that could help more. Any ideas what should I define on boundaries to get B lines (flux) inside the magnetic wire (material with higher permeability than surrounding)? I know that one thing could be Neumann boundary condition where dA/dn=0 [A - vector potential and n - vector of normal]. Yours, Martin P.S. My problem to get 2 sided patch is mentioned here (I can't figure out the steps that need to be taken) - Internal faces from gmsh how to create patches in OpenFoam

 May 3, 2012, 17:34 #2 Member   Martin Join Date: Dec 2011 Location: Latvia Posts: 54 Rep Power: 6 Greetings! Sorry for small picture, but I hope it is understandable. I have drawn 2 cells, the black line is internal boundary (has cells from both sides). I managed to do that createBaffles thing and I have patches to both sides. My question - is it possible using GroovyBC to take a functions F value from cell above and put this value on boundary to other side? I want to try that from one side I have zeroGradient, but from the other I have a value of function so my solver could get initial value for calculations. Sincerely, Martin

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post SH_P OpenFOAM 3 June 21, 2013 15:37 Souviktor FLUENT 0 May 22, 2010 02:19 Arturo Ortiz FLUENT 1 March 10, 2010 11:26 Richard Lee FLUENT 2 March 10, 2010 11:22 MHDWill FLUENT 1 September 23, 2007 02:51

All times are GMT -4. The time now is 17:31.