Search found 33 matches

by MrChips
15 Sep 2021, 19:16
Forum: ElmerSolver
Topic: Smart Heater Control
Replies: 8
Views: 2383

Re: Smart Heater Control

Thanks Peter. This seems promising. I am working through it (slowly). I can get this mostly to run except for when I uncomment the GetTimestepSize() line it gives a segmentation fault. Is there a function header line I need to put in for this to work? As far as I can tell it should just return an in...
by MrChips
13 Sep 2021, 19:00
Forum: ElmerSolver
Topic: Smart Heater Control
Replies: 8
Views: 2383

Re: Smart Heater Control

Thanks for the explanation Peter. In the lab setting I use an on/off heater control that uses a low and high temperature setpoint. I used a UDF in prior runs to turn the heater on and off with these temperature setpoints. It works reasonably well except that the timesteps need to be small enough to ...
by MrChips
10 Sep 2021, 22:46
Forum: ElmerSolver
Topic: Smart Heater Control
Replies: 8
Views: 2383

Re: Smart Heater Control

Thanks Kevin. I did see this thread, but could not find any information on the "Smart Heater Timescale" Peter refers to. I assumed that since the thread was so old that the information was antiquated.
by MrChips
09 Sep 2021, 20:54
Forum: ElmerSolver
Topic: Smart Heater Control
Replies: 8
Views: 2383

Re: Smart Heater Control

Am I supposed to be able to see it switch on and off with each timestep? I guess I figured if it was switching on and off that I would be able to see some variation in the power density as this happens. Maybe this just doesn't work so well with transient and radiation heating?
by MrChips
09 Sep 2021, 19:35
Forum: ElmerSolver
Topic: Smart Heater Control
Replies: 8
Views: 2383

Smart Heater Control

I am using savescalars to save 'heater power density' of a smart heater setup. When I run the smart heater I put in a heat source value for the heater. If I don't do this it will say it is not defined when I run the solver. I assume the heat source value I put in is just used as the initial guess an...
by MrChips
09 Sep 2021, 19:24
Forum: ElmerSolver
Topic: Output Heat Source Value
Replies: 4
Views: 1587

Re: Output Heat Source Value

Okay, so I got it all to work (mostly). Turns out that heater power density (W/kg) is a res: variable and will get saved by savescalars by default.
by MrChips
08 Sep 2021, 23:02
Forum: ElmerSolver
Topic: Output Heat Source Value
Replies: 4
Views: 1587

Re: Output Heat Source Value

Thanks Kevin! It runs now at least! Solver 4 Equation = SaveData Procedure = "SaveData" "SaveBoundaryValues" Variable = -nooutput dummyvar Variable DOFs = 1 Parameter 1 = Heat Source Body Force Parameters = Integer 1 End Any idea how to get this to output? When I run SaveScalars ...
by MrChips
08 Sep 2021, 00:54
Forum: ElmerSolver
Topic: Output Heat Source Value
Replies: 4
Views: 1587

Output Heat Source Value

I am using the 'Smart Heater Control' in a transient simulation to keep the temperature of a body at a constant temperature. I would like to output the heat source (W/kg) of that body. I went through the forums and I think it was Peter that suggested using the SaveData module using the 'Body Force P...
by MrChips
07 Apr 2021, 17:29
Forum: ElmerSolver
Topic: Boundary Condition and FluxSolver
Replies: 8
Views: 2588

Re: Boundary Condition and FluxSolver

Peter,

This work really well. Thank you!
by MrChips
06 Apr 2021, 23:07
Forum: ElmerSolver
Topic: Boundary Condition and FluxSolver
Replies: 8
Views: 2588

Re: Boundary Condition and FluxSolver

It makes sense that the resolution of the mesh is not fine enough to get the results to match up. Thank you kevinarden for taking the time to check your own simulation and responding to my questions! Peter, I've implemented the term 'Calculate Loads = Logical True' and 'Calculate Weights = Logical T...