# [swak4Foam] Manipulate thermophysical properties with swak4foam?

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 9, 2015, 08:34 Manipulate thermophysical properties with swak4foam? #1 Member   Join Date: Sep 2014 Location: Germany Posts: 88 Rep Power: 10 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?

 December 11, 2015, 05:41 #2 Senior Member   Fabian Roesler Join Date: Mar 2009 Location: Germany Posts: 213 Rep Power: 17 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

 December 11, 2015, 06:03 #3 Member   Join Date: Sep 2014 Location: Germany Posts: 88 Rep Power: 10 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

 December 11, 2015, 07:05 #4 Senior Member   Fabian Roesler Join Date: Mar 2009 Location: Germany Posts: 213 Rep Power: 17 You could try to implement a new transport model. The polynomial transport lies here: src/thermophysicalModels/specie/transport/polynomial/polynomialTransport.H src/thermophysicalModels/specie/transport/polynomial/polynomialTransport.C Probably you can change the code to your needs. Fabian

 December 11, 2015, 07:08 #5 Senior Member   Fabian Roesler Join Date: Mar 2009 Location: Germany Posts: 213 Rep Power: 17 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

 January 5, 2016, 03:29 #6 Member   Join Date: May 2015 Posts: 68 Rep Power: 9 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

 Tags swak4foam, thermophysicalproperties

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post wsmith02 OpenFOAM 3 July 27, 2015 06:37 dancfd OpenFOAM Pre-Processing 0 September 12, 2014 20:52 zahraa OpenFOAM Running, Solving & CFD 3 August 14, 2014 09:11 romant OpenFOAM Running, Solving & CFD 1 August 12, 2014 09:41 Ciefdi OpenFOAM Running, Solving & CFD 0 November 7, 2013 12:44

All times are GMT -4. The time now is 22:58.

 Contact Us - CFD Online - Privacy Statement - Top