Search found 61 matches

by gos
05 Sep 2015, 12:13
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Re: Variable Temperature for internal Body

Hi gos, If the keyword "Temperature" solves it, then it can be used there at the place. Why don't you use MATC function to define the body force? Temperature = Variable time Real MATC "f(tx)" Yours Sincerely Anil Kunwar Hello, Thanks ! MATC is way!!! to slow, thus I use a Fortra...
by gos
04 Sep 2015, 21:35
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Re: Variable Temperature for internal Body

The question now is:

How can I turn off the Temperature Body Force after a given amount of time from my User Function DLL?

Anyone have any clue? @Elmer Team ?
by gos
04 Sep 2015, 21:34
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Re: Variable Temperature for internal Body

Hello, Strangely, the keyword "Load" must NOT be there for this to work. With the keyword Load in place, my simulations do not converge any more. (Previously I have used a Fixed Temp for the Pipe Water, using an Initial Condition and a very high Heat Capacity to get a constant temp) Howeve...
by gos
04 Sep 2015, 17:25
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Re: Variable Temperature for internal Body

Hi gos, Yes it says that we can use Temperature as the body force and in Solver.Keywords file the following keywords are present: BodyForce:Real: 'Temperature Condition' BodyForce:Real: 'Temperature Load' BodyForce:Real: 'Temperature Lower Limit' BodyForce:Real: 'Temperature Passive' So, you will b...
by gos
04 Sep 2015, 16:49
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Re: Variable Temperature for internal Body

Hi gos, Please refer Elmer Models Manual in Heat Solver http://www.nic.funet.fi/pub/sci/physics/elmer/doc/ElmerModelsManual.pdf There in Body Force Section, I don't see the keyword Temperature. Rather there are keywords Temperature lower limit and Temperature upper limit. So, the UDF definition in ...
by gos
04 Sep 2015, 16:34
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Re: Variable Temperature for internal Body

Hi, the syntax for the sif file is correct as far as I see. Of course, it also depends on the contents of your UDF... ;) HTH, Matthias Thanks Matthias, I forgot to indicate that I thought of using the statement within a Body Force statement : Body 1 ! Pipe Water Body Force = 1 ... End Body Force 1 ...
by gos
04 Sep 2015, 15:42
Forum: ElmerSolver
Topic: Variable Temperature for internal Body
Replies: 11
Views: 6696

Variable Temperature for internal Body

Hello, I'm on Elmer 7.0. I have a domain where air (with Conductivity Ka) surrounds a water pipe. I want to be able to vary the Temperature of the Water. For speed, I want to use a userfunction (DLL) to vary the temperature. Can this be done as follows: Temperature = Variable Time Real Procedure &qu...
by gos
21 May 2013, 20:24
Forum: ElmerSolver
Topic: Temperature Gradient Varying Conductivity
Replies: 7
Views: 5367

Re: Temperature Gradient Varying Conductivity

Hello,

Figured it out, thanks for all help this far!

gos
by gos
21 May 2013, 19:06
Forum: ElmerSolver
Topic: Temperature Gradient Varying Conductivity
Replies: 7
Views: 5367

Re: Temperature Gradient Varying Conductivity

Hello Peter,

And thanks yet again :-)

Yes, I see I confused Vectors and Scalars in the posting.

If I use GetScalarLocalSolution(NodeFluxArray, "temperature flux_abs")

should I scale the NodeFluxArray to the size of a REAL(KIND=dp) (8 bytes), or should I pass a REAL(KIND=dp) ?


gos
by gos
21 May 2013, 17:05
Forum: ElmerSolver
Topic: Temperature Gradient Varying Conductivity
Replies: 7
Views: 5367

Re: Temperature Gradient Varying Conductivity

Hello, The Flux Solver runs, but I do not get hold of the Flux in my user-function. I have set up the Flux Solver as follows: Solver 1 The Heat Solver ..... END Solver 2 Exec Solver = always Equation = "Flux Compute" Procedure = "FluxSolver" "FluxSolver" Calculate Flux ...