USNavalResearchLaboratory / turboWAVE

PIC/hydro simulation code
21 stars 7 forks source link

current in conductor #3

Open amircogan opened 3 years ago

amircogan commented 3 years ago

Hi, We sent you a question by mail, not sure you got it, trying here as well.

We started using it recently and found it very powerful. We have a question please: We would like to pass an electric current in a wire. The related potential is known (coming from a capacitor). We could not figure out how to define this in the input file. Can you assist on this ?

Will it create a magnetic and electric field (rotor E) around the wire ?

How do the simulation know the resistance of the wire ? (Copper or similar)

dfgordon commented 3 years ago

Hello, there are a few problems with doing this, e.g., there is no model for resistive conductors, and the electromagnetic (EM) modules are not designed to deal with circuit elements. In fact we don't usually put any structures in an EM environment other than plasma and EM waves. If you just want to see the EM fields from a prescribed current you can use an antenna object.

amircogan commented 3 years ago

Thank you very much Daniel for the swift response. Do you think it makes sense we try to add this functionality. We do have knowledge in Physics and C++ programming . Question is how much of a change you think this is and what is the estimated effort. Many thanks Amir

On Thu, Dec 3, 2020 at 2:14 PM dfgordon notifications@github.com wrote:

Hello, there are a few problems with doing this, e.g., there is no model for resistive conductors, and the electromagnetic (EM) modules are not designed to deal with circuit elements. In fact we don't usually put any structures in an EM environment other than plasma and EM waves. If you just want to see the EM fields from a prescribed current you can use an antenna object.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/USNavalResearchLaboratory/turboWAVE/issues/3#issuecomment-737904791, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7CYKJ5BYVDLBP5NFECZE3SS56L3ANCNFSM4UKZV2DA .

dfgordon commented 3 years ago

I can't put a number to it, but if the B-field has to be self-consistent probably a very significant effort. If not you might try looking at examples/hydro/argon-breakdown.tw and think about modifying that to suit your needs and computing B in post-processing.