Electric Field (UDF) - FLUENT
Good morning everyone ...
I am doing a research using FLUENT, and I am trying to introduce an electric field to FLUENT through a UDF. The electric field is to be constant with a value that the user would define. I have read that one can do that by solving the poissons equation for applied or induced potential, where the derivative of the potential can be taken to get the electric field. Such thing can be done by defining a UDF that I am not fully aware of. I would appreciate it if someone can help in defining this UDF or if someone has an easier approach/way to define an electric field to FLUENT ... Please note that the built in module MHD does not suit my problem ... Thank you in advance ... Kind regards |
Any one who can help?
|
I would have recommended the MHD module as a start
Can you elaborate on what you hope to accomplish by adding a constant electric field? If you want to define a constant electric field, it's like defining a constant scalar field or defining a global constant (like pi). This part is trivial and you do not need a poisson equation for it (it's constant everywhere). So what do you plan to do after? If you plan to do charged particle simulations in a fluid flow then you're back to to MHD. |
Hi ...
Many thanks Mr. LuckyTran for your reply ... I really appreciate it ... Indeed I am planning to do charged particle simulations in a fluid flow ... Can you please guide me on how to do that using the MHD module ... I was able to load the module into FLUENT. Then, I defined a value for the voltage on two parallel walls where the flow is supposed to pass in between, but no good results were obtained. Actually, nothing at all happened (As if the module wasn't loaded/added). There were no effect on the charged particles ... I am sure I did something wrong ... Also, can you check the discussion in the following link (A post written by: vsmkrm298 mentioned something about solving a similar problem by solving the poissons equation for applied or induced potential: http://www.cfd-online.com/Forums/flu...ric-field.html Your reply is highly appreciated ... Thank you in advance ... Kind regards |
Any one who can help?
|
Use the MHD module. It's already done for you. If you were to write your own udf, you would just end up remaking the MHD module (which is just a bunch of UDF's).
Did you remember to enable the MHD module after loading it? |
Hi ...
Sure, the MHD was enabled, but as I said: I was able to load/enable the module into FLUENT. Then, I defined a value for the voltage on two parallel walls where the flow is supposed to pass in between, but nothing at all happened (As if the module wasn't loaded/added). There were no effect on the charged ... If you have any experience in using the MHD module or defining the UDFs, can you please provide/guide me through them ... Thanks in advance ... Rrgards |
how to enable MHD module in ANSYS Fluent 12 ?
|
1 Attachment(s)
Quote:
I want to show Electric Field in Result, Did I use correct way for doing this? I attached the picture Best Regards, |
All times are GMT -4. The time now is 13:54. |