CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Solving new implicit equation (https://www.cfd-online.com/Forums/fluent-udf/243535-solving-new-implicit-equation.html)

Maxxxx June 24, 2022 03:08

Solving new implicit equation
 
Hey,


I`m wondering if there is a possibility to solve a implicit equation in fluent:


Code:

C1 * v + (v * nabla) v = C2

or in components



Code:

C1 * v_x + v * grad(v_x) = C2
C1 * v_y + v * grad(v_y) = C2
C1 * v_z + v * grad(v_z) = C2

where C1 and C2 are known constants and v is a vector field.


To get my v, I can form this to a semi-implicit equation system to remove the coupling of the three equations but I donīt know, how to solve them in fluent... In openFOAM I could just define a fvScalarMatrix let the solver do his work but for fluent I have no plan how to do.
I have also tried out to use the scalar transport equation but it does not work too.


Any ideas about this? Or is it better to solve this equations external?


Thanks in advance


Max

Maxxxx July 6, 2022 05:57

Hey, its me again.



Nobody has an idea?

tomsjerry March 11, 2024 22:01

Quote:

Originally Posted by Maxxxx (Post 830382)
Hey,


I`m wondering if there is a possibility to solve a implicit equation in fluent:


Code:

C1 * v + (v * nabla) v = C2

or in components



Code:

C1 * v_x + v * grad(v_x) = C2
C1 * v_y + v * grad(v_y) = C2
C1 * v_z + v * grad(v_z) = C2

where C1 and C2 are known constants and v is a vector field.


To get my v, I can form this to a semi-implicit equation system to remove the coupling of the three equations but I donīt know, how to solve them in fluent... In openFOAM I could just define a fvScalarMatrix let the solver do his work but for fluent I have no plan how to do.
I have also tried out to use the scalar transport equation but it does not work too.


Any ideas about this? Or is it better to solve this equations external?


Thanks in advance


Max

Hello,
Has your problem been solved? I have the same problem now. Apply spontaneous nonlinear equations to the source project.


All times are GMT -4. The time now is 21:00.