|
[Sponsors] |
April 2, 2012, 09:35 |
orientationi & Sf[facei] - magneticFoam
|
#1 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 14 |
Greetings!
I have spent a lot of time in doing all kinds of manipulations with magneticFoam and finally I have almost come to the end. There is only one totally unclear line for me in createFields.H I guess my problem is more about C language not about magnetic field physics. My questions: What should I get out when these lines are compiled? I get surfaceScalarField in output, but shouldn't there be VectorField? What the first line defines, where information about this mesh.Sf will be taken from? Mri is a constant, what should happen when I multiply a constant with those parameters in brackets? Also, there is orientation (that is some kind of vector) and then there is '&' symbol. Does it mean Mri is multiplied with orientationi and Sf[facei] in the same time? Yours sincerely, Martin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
magneticFoam | latvietis | OpenFOAM Running, Solving & CFD | 41 | June 5, 2020 01:29 |
Looking for a magneticFoam working example | maddalena | OpenFOAM | 3 | July 12, 2013 16:42 |
what is the magneticFoam for in the OpenFOAM 2.0.0 | goodkid | OpenFOAM | 4 | December 24, 2011 08:25 |