找回密码
 注册
查看: 5325|回复: 2

出现temp definition shadows previous definition是什么意

[复制链接]
发表于 2006-4-17 10:55:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
将粘度定义为温度的函数,出现temp definition shadows previous definition是什么意
思,有错误吗?
cpp -ID:\Fluent.Inc1\fluent6.1.22/src -ID:\Fluent.Inc1\fluent6.1.22/cortex/src - ID:\Fluent.Inc1\fluent6.1.22/client/src -ID:\Fluent.Inc1\fluent6.1.22/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" :\exam\viscosity.c
temp definition shadows previous definition
发表于 2018-3-29 09:22:15 | 显示全部楼层
老帖子了,正好这几天我也遇到类似的问题,刚刚解决了,贴上来补齐帖子希望对后面遇到类似问题的朋友有个参考吧‘
我出现的是:
all_source definition shadows previous definition
all_source

只是两个name重复定义了,任意改动一个就可以了   
DEFINE_SOURCE(all_source,c,t,dS,eqn)               

{
        real source;
        real R1;
        real R2;
        real R3;
        real R4;
        real R5;

很简单的一个问题,我却研究了半天,好尴尬,哈哈

回复 支持 1 反对 0

使用道具 举报

发表于 2006-8-3 10:55:25 | 显示全部楼层

出现temp definition shadows previous definition是什么意

我也出现同样的问题,不知道楼主有没有解决那个问题?

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表