/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
/*需要完整焊接熔化温度场udf代码,请直接淘宝https://shop151212963.taobao.com/?spm=a230r.7195193.1997079397.2.ZOhQ6h,
或者添加QQ2045584189详谈*/
#include "udf.h"
#define U 18
#define I 150
#define PI 3.1415928
#define R 0.003
#define n 0.8
#define v 0.003
#define L 0.005
#define u0 1.26e-6
DEFINE_SOURCE(S_X,cell,thread,dS,eqn) /* 三个方向的电磁力 */
{
real xc[ND_ND];
real t;
real source;
real x,y,z;
real r;
C_CENTROID(xc,cell,thread);
x=xc[0];
y=xc[1];
z=xc[2];
}
DEFINE_SOURCE(S_Y,cell,thread,dS,eqn)
{
real xc[ND_ND];
real t;
real source;
real x,y,z;
real r;
C_CENTROID(xc,cell,thread);
x=xc[0];
y=xc[1];
z=xc[2];
}
DEFINE_SOURCE(S_Z,cell,thread,dS,eqn)
{
real xc[ND_ND];
real t;
real source;
real x,y,z;
real r;
C_CENTROID(xc,cell,thread);
x=xc[0];
y=xc[1];
z=xc[2];
}
DEFINE_PROFILE(heat_flux,thread,index) /* heat source*/
{
real xc[ND_ND];
face_t f;
real t;
real heat;
real x,y,z;
real r;
}