Page 1 of 1
heat source
Posted: Mon Jun 14, 2010 5:25 pm
by Sylvain Boutot
Hello
Can I put an heat source in my geometry ? And how does it ?
Thanks
Re: heat source
Posted: Tue Jun 15, 2010 10:27 am
by Alexandre Douce
Hi Sylvain, You can put heat source in you geometry. You have to use the user source ustssc.f90 (see ยง 4.14 in the User Guide 2.0-rc1).
Re: heat source
Posted: Tue Jun 15, 2010 1:06 pm
by Sylvain Boutot
es but how I use the source ustssc.f90
Re: heat source
Posted: Thu Jun 17, 2010 12:43 am
by David Monfort
Hi Sylvain,
You need to copy the ustssc.f90 file from the REFERENCE/base directory into the SRC directory. Then you can edit it, and that's all ! IIRC, there is an example within the user file in order for you to properly setup your case.
David
Re: heat source
Posted: Mon Jun 21, 2010 11:58 am
by Sylvain Boutot
hanks for your answer, but I have an other question:
I want a function that gives the coordinates of differents cells (like GETCEL) because, my heat source depends of this coordinates. Does it exist?
Re: heat source
Posted: Mon Jun 21, 2010 12:20 pm
by Yvan Fournier
Hello,
You can use simple geometric primitives in getcel (such as box, cylinder, plane, ...), which are described in the user documentation, but you may also simply use conditions on the cell center coordinates, which may be accessed through the XYZCEN array.
For a given cell IEL, XYZCEN(I, IEL) defines the Ith coordinate (i.e. X, Y, Z, respectively).
Re: heat source
Posted: Thu Jul 01, 2010 12:56 pm
by Sylvain Boutot
hanks for your answers folks !!!