I have simulated heat and fluid flow problem in Fluent and imported into Paraview.
I have the data for velocity, temperature fields.
Now I want to obtain an unknown function by solving the below equation:
where the terms on the right hand side (density, specific heat, velocity vector, temperature, thermal conductivity) are known from data. The left hand side contains curl of an unknown function “Theta”. I want to find this “Theta” variation which gives me heat function distribution.
Is it possible? If so, I request the procedure to be done.
Thanks & Regards,
This is not something that is present in ParaView, nor in VTK I think.
You may be able to implement in a Programmable Filter.
Programmable filters like Python Calculator that is available in Paraview or some thing else?
Python Calculator and Programmable Filter are different things.
I do not think you can solve this in a python calculator.
Programmable Filter are similar but more complex :
If I understand your equation correctly, you first need the gradient of the temperature field. You can estimate that using either the
Graident of Unstructured DataSet filters.
The rest of the right side of the equation can be computed with a simple expression in the
Calculator filter. That will give you the curl of theta.
I don’t think there is any way to compute theta from its curl. It is not in general possible to take the inverse of a curl (c.f. https://www.quora.com/What-is-the-inverse-operation-of-curl-and-divergence).
To build further on Kenneth’s point, the equation you propose to solve is not well posed. In other words, more than one function can satisfy it, starting with theta + any constant.
You can try and regularize the problem, by seeking the theta with the minimum H1 norm that satisfies the equation. That equation should be well posed, but you are probably better off solving that regularized equation in an open source PDE library rather than writing your own solver.
Hello Kenneth and Vikram,
Thanks for the suggestions.
As suggested in ANSYS student community, I came across an article (Post#4 in https://studentcommunity.ansys.com/thread/solving-equation-involving-simulation-data-in-fluent/) where they obtained heatlines by writing a Matlab script. May be I have to link Fluent data with Matlab and try if I can write a script!!?
But, I am not sure as of now.
Anyway thank you for the suggestions.