Hello
Can I put an heat source in my geometry ? And how does it ?
Thanks
heat source
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: heat source
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
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
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
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?
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
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).
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).