FEAP User Forum
FEAP => Input File Issues => Topic started by: Yaakov on March 02, 2016, 07:32:42 AM
-
hi everyone,
a temperature field will be defined for 2d plane, CSURface Function is used for definition of the temperature in Input File,
bu it shows zero-results, more details see in input datei, i would ask, is error of boundary or CSURface ?? or something else???
thank you in advance for your help!
Jakob
-
The SURF option is for 3-d boundaries. Note CSUR is used to apply to a mesh boundary, not the entire mesh. So you can apply to the edges of your mesh using LINE or QUADratic edge options. You could set the initial temperature using an INITial condition.
Or you can just set all the nodes to the temperature you wish to start with.
-
Dear Prof. Taylor, thanks for your answers!
if CAD model is large (e.g. many mesh elements), how can i define INITial condition (comanda) IN FEAP (Nr of Node ....).e.g a simple way for choice of area?
and how can all the nodes be set to the feld (like mag. fled, elec feld, or other felds) user wish to start with?
best regards, jakob
-
If you have a known constant initial condition and the problem is large, you can set the initial condition using generation:
n1 ng u_1 u_2 ... u_dof
n2 0 u_1 u_2 ... u_dof
where n1 is first node, n2 last node, ng = 1 for all nodes between n1 and n2. The u_i are the initial condition for dof i.
If the initial condition varies in some way then you may want to write a umacr that sets the initial values. The feap nodal solution vector is stored in hr(np(40)) and is dimensioned u(ndf,numnp).
-
Dear Prof. Taylor, thanks very much for your answers!