Assigning UDM vis Profile File?
Is it possible to assign values to a user-defined-memory using a defined "profile" in Fluent? Or is it only possible via UDF?
|
UDMs accessible only via UDF
UDMs are accessible only via UDF; both C based and Scheme based.
|
Quote:
|
Objective
May I know the objective of using UDM if UDF is not being used?
You can access the profiles defined in the Fluent within a UDF and assign the values to UDM. |
Quote:
|
Use xy-plot
You can certainly plot profiles, except those are not contour plots. To plot contours, you have to apply those to UDMs. But if its a profile then the values are already known and you can use some external tool to plot it, such as matlab, octave, gnuplot, tecplot, etc. Furthermore, Fluent will only plot the interpolated profile and not the actual profile when you assign those to UDMs and plot the contours. But it certainly is doable using UDF.
There is a small hack that you can do. Enable Fixed Values in Fluent's cell zone. Then, assign the profiles as any of the field variables. Initialize the simulation. If you assign profiles as velocity, then you can just plot the velocity, and voila. |
Quote:
I was trying to apply it to velocity, like you say, and plotting it, but i can only apply it as a boundary condition on the inlet. I was trying to initialize velocity field using it, but it wouldnt let me. Your suggestion to fix the field variables sounds like it will work though. Thanks! |
Quote:
any ideas what i might be doing wrong? |
Fixed Values
Initializing always sets the initial values, however, after running a couple of iterations, it should be able to show the fixed values. And you may have to deselect node values while plotting contours.
|
Quote:
Thanks again! |
Good
Nice to know that the hack worked.
|
All times are GMT -4. The time now is 14:18. |