-
-
October 19, 2018 at 12:05 am
FidelCsB
SubscriberHi everyone.
I'm trying to simulate an electro osmotic flow on Fluent. Does anyone know if it is posible??
I recently discover the MHD module, but I need the Poisson Equation and this model neglected the electric charge density and I need it for my simulation. Maybe with a UDS I could simulate it, but I don't know if the new variable is independent from the other governing equations because I need it inside them.
Thanks in advance.
-
October 19, 2018 at 1:05 am
Karthik R
AdministratorHello,
If I understand your problem correct, you can certainly use the UDS as an additional equation in Fluent. You can bring the new variable into the other governing equations as sources terms. Please note that these source terms are volumetric and need to be linearized. You can code these sources terms as UDFs and incorporate the variable into other governing equations.
Please let us know if you have any more specific questions.
Thank you.
Best Regards,
Karthik
-
October 19, 2018 at 2:52 pm
FidelCsB
SubscriberThanks Karthik, that could be a solution for my problem. Just two more question, how can I linearized those source terms? and wich macro I need to use for my UDF?
-
October 21, 2018 at 1:59 pm
Karthik R
AdministratorHello,
Please have a look at the following screenshot from the Fluent Customization Manual I am embedding here. This is in the section on DEFINE_SOURCE in the manual, which is the UDF macro you will be using to define source terms in Fluent. This screenshot briefly discusses on source term linearization.
I hope this helps.
Thank you.
Best Regards,
Karthik
-
October 26, 2018 at 10:12 pm
FidelCsB
SubscriberI have another question about the source and the macro, can I bring the same variable that the UDS is solving into its source term??
" alt="">
This is my equation. I have the variable in the diffusive term and in the source so my UDF for the source needs the same variable, it is posible? I've read in the fluent documentation I can access to the cell variables with C_UDSI macro but I'm not sure if I can access to the same variable.
Thanks for read, hope you can answer -
October 28, 2018 at 1:46 pm
Karthik R
AdministratorHello,
Yes, you can do this. You should be able to access this variable from the previous iteration for your source term. You can store the previous solution of 'phi' in a UDMI and access this to estimate the source term to solve the next iteration. I hope this helps.
Thanks.
Best Regards,
Karthik
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2656
-
2120
-
1347
-
1118
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.