ComplexVectorField
Dear comunity,
I need to implement the possibility of calculating complex vector fields ( like for example the magnetic vector potential A) in OpenFOAM. I already recognized the ComplexVectorField.H library, which could be suitible for this issue. Is somebody able to help me or give me an advice how to realize a simple calculation like this: ComplexVectorField A; ( IOobject ( "A", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); solve(fvm::laplacian(A)); I offer my thanks in advance to all Members |
I'm a little bit disappointed, that nobody wants to discuss this topic, but anyway i found in one previews threads an advice of henry to add a new geometric field. Had anybody allready tried something like this?
|
@piotr,
This post probably isn't going to help, but maybe someone else will find it as well. I did find the post http://www.cfd-online.com/Forums/ope...ex-fields.html that asks nearly the same question so you could ask them if they ever figured out the issue. Also, I found the post http://www.cfd-online.com/Forums/ope...-equation.html that might be of interest to contribute to the discussion there. The answer to this might actually be that you need to define an entirely new vol*complex*Field type...and I'm sure that will take some time to implement. Lastly, some of these "complex" questions take time to think about and answer. Good luck. |
@Dan
Thank you very much for your reply and your advice.
I allready started to implement a volComplexVectorField class and I was able recompile OpenFoam with this modification. But as I have written a solver using this new Field, I recieved some errors concerning fvMatrix files. I will try to solve this problems and keep you informed if I succeed. |
I know that this is already a long time ago, but Induction, did you, or anybody else already implemented a "volComplexField" Function?
I need to solve for the complex Poission Equation for AC fields and need to solve for a complex scalar volume field |
Did anyone ever have any success with this?
I want to solve the Laplace equation for conduction of AC current using phasors in OpenFOAM. |
All times are GMT -4. The time now is 04:34. |