|August 16, 2010, 13:55||
Join Date: Mar 2009
Location: München, Bavarian, Deutschland
Posts: 24Rep Power: 8
I am stucked to a simple problem and not able to find out a solution of it.
I want to read gradient from another file and interested to write it into T (temperature file of OpenFOAM).
I did like as below:
As an output of this code am getting something different.
gradient uniform 0;
and so on;
but I am interested to get output as below:
gradient uniform 30;
I am sure am doing a mistake, and I think by using field.boundaryField()[patchID]==30; temperature at the patchID is getting stored, instead of temperature value, am interested to store gradient value.
I shall be thankful for your kind replies.
|field, fixedgradient, patchfield, volscalarfield|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problems with creating a volScalarField||georlade||OpenFOAM Programming & Development||2||July 6, 2010 02:19|
|if-loop, volScalarField comparison||volker||OpenFOAM||5||April 23, 2010 14:18|
|An error has occurred when Writing backup file||tian||CFX||0||June 28, 2007 21:29|
|journal file command for writing mass flow rate||James||FLUENT||0||July 26, 2006 10:51|
|Fatal error error writing to tmp No space left on device||maka||OpenFOAM Installation||2||April 3, 2006 08:48|