Manipulate thermophysical properties with swak4foam?
Hi
is it possible to manipulate thermophysical properties with swak4foam? I calculated a temperature dependent viscosity and used the manipulateField function to write the result to "thermo:mu". The problem is that the solver does not use the new thermo:mu for its calculations. Is there a way to do that? |
Why don't you just use polynomial transport properties?
Equation 7.2 in http://cfd.direct/openfoam/user-guide/thermophysical/ should be what you are looking for. Cheers Fabian |
Hi Fabian,
sadly no. Polynomial would only work with a piecewise definition, what is, as far as I know, not possible with existing OF functionality. What I need is a piecewise definition or alternatively a table where the values are interpolated. Both is possible in swak4foam, what I don't know is, if it's possible to provide the calculated value to the solver. Greetings Tobi |
You could try to implement a new transport model. The polynomial transport lies here:
Fabian |
You could try to merge it with code snippets from the uniformFixedValue boudary condition to create a new tabulated transport class.
I'd say this is the real OpenFOAM masters way :) |
Did you made any Progress on this issue, since it is interesting for me as well.
I am trying to implement an exponential dependency on temperature for viscosity http://www.cfd-online.com/Forums/ope...ependance.html |
All times are GMT -4. The time now is 02:34. |