[aspect-devel] Boundary Temperature

Juliane Dannberg dannberg at gfz-potsdam.de
Thu Jan 12 13:31:11 PST 2017


Hi Felipe,

I think your problem just has to do with capitalization.
Our convention for the input file is that plugin names are /not/ 
capitalized, but names of subsections are. So in your case, it is

set Model name = function

but

subsection _F_unction

(and because you did not capitalize it, Aspect does not recognize the 
subsection you want to enter)

Hope that helps!
Juliane



On 01/12/2017 01:50 PM, FELIPE ORELLANA ROVIROSA wrote:
> Hi,
>
>     I have tried implementing this Dirichlet temperature boundary 
> function, but I am simply not succeeding. It seems there is something 
> wrong on the syntax, a declaration, but I cannot detect it after 
> reading the handbook specifics.
>
> On the model settings I have:
>    subsection Model settings
>   set Fixed temperature boundary indicators  = bottom, top
>
> And on the temperature subsection I have:
>
>   subsection Boundary temperature model
>   set Model name = function
>
>   subsection function
>     set Variable names      = x,y,z
>     set Function expression = if(z<=0, 1500  + 
> 200*exp(-(16/(2.5e11))*( (x-6e5)^2 + (y-4e5)^2 ) ) , 300)
>  end
> end
>
> I have tried permuting the order of the two separate statements 
> (setting vs. subsection). I have double-checked that I have no other 
> temperature statements except only for 'Temperature solver 
> tolerance','Reference temperature','temperature statistics'; and the 
> Initial condition does not contain the word temperature.
>
> but everything fails stating that there is NO such subsection to be 
> entered:
>
> Line <114> of file <input string>: There is no such subsection to be 
> entered: Boundary temperature model.function
>     subsection Boundary temperature model
>       subsection function
> Line <115> of file <input string>: No such entry was declared:
>     Variable names
>     <Present subsection:
>         subsection Boundary temperature model
>     >
> Line <117> of file <input string>: No such entry was declared:
>     Function expression
>     <Present subsection:
>         subsection Boundary temperature model
>     >
> Line <119> of file <input string>: There is no subsection to leave here!
>
> hope you guys can help me,
> cheers,
>
> Felipe
>
> On Tue, Jan 10, 2017 at 3:03 PM, FELIPE ORELLANA ROVIROSA 
> <f_orellana at berkeley.edu <mailto:f_orellana at berkeley.edu>> wrote:
>
>
>      Hi all,
>
>         I am trying to prescribe a function as the temperature
>     boundary condition, say inhomogeneous Dirichlet for the heat equation.
>
>         I guess the syntax must be rather simple, but I am not getting
>     it. I have browsed and browsed examples unsuccessfully.
>
>       I am trying things of this kind:
>
>        subsection Model settings
>       set Fixed temperature boundary indicators   = top
>       set prescribed temperature boundary indicators = bottom: function
>
>     subsection Boundary Temperature model
>       subsection Function
>         set Variable names      = x,y
>         set Function constants  =
>         set Function expression = 1500  + 200*exp(-(16/(2.5e11))*(
>     (x-6e5)^2 + (y-4e5)^2 )
>      end
>     end
>
>      and when trying to run it, the system complains:
>      Line <91> of file <input string>: No such entry was declared:
>         prescribed temperature boundary indicators
>         <Present subsection:
>             subsection Model settings
>
>     ''invalid input parameter file''.
>
>     hope someone can help me,
>     cheers,
>     Felipe
>
>
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20170112/72852d55/attachment.html>


More information about the Aspect-devel mailing list