|December 6, 2011, 08:07||
CEL expression for controlling an energy source with respect to time
Join Date: Dec 2011
Location: Bournemouth UK
Posts: 4Rep Power: 5
I would like to be able to control an energy source in my transient simulation with respect to time e.g. t=0 on at t=2 off at t=20 on at t=22 off etc. The simulation is for testing conformal cooling channel designs for injection moulding tools with the energy source simulating the injection phase of the moulding cycle.
From reading tutorials on the CFX Expression Language I understand it should be possible to do this using CEL and I have read a couple of tutorials on creating feedback loops to control temperature but what I donít understand is how to write an expression for a boundary condition or with respect to time. I am not a programmer so this is all pretty new to me; any help would be greatly appreciated.
Software: ANSYS Workbench V13
So to summarise my question
1) Does anyone know of an example/tutorial of an expression which is written for turning an energy source on or off with respect to time step
2) Can anyone help me out with creating an example of the code I need to achieve the above
Additional info: I currently have the above problem setup as 3 separate analysis; a) steady-state (for initial conditions of the fluid flow in the cooling channel) b) transient 2s (heating) c) transient 18s (cooling time) but I would like to be able to run it multiple times to simulate multiple moulding cycles all in the same analysis.
|December 6, 2011, 19:45||
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651Rep Power: 84
This is just a straight forward CEL expression. No programming needed. Use the mod function to define a periodic function and link the CEL expression to your boundary condition.
|cel, transient bc|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Superlinear speedup in OpenFOAM 13||msrinath80||OpenFOAM Running, Solving & CFD||18||March 3, 2015 06:36|
|Mass and energy source - evaporation||neilduffy1024||ANSYS||4||July 16, 2013 23:50|
|time dependent source using DEFINE_SOURCE||T81||Fluent UDF and Scheme Programming||5||February 28, 2011 18:23|
|DecomposePar links against liblamso0 with OpenMPI||jens_klostermann||OpenFOAM Bugs||11||June 28, 2007 17:51|
|Why FVM for high-Re flows?||Zhong Lei||Main CFD Forum||23||May 14, 1999 13:22|