Compling error on ChannelGradientBC.C

18 views
Skip to first unread message

庄坤

unread,
Aug 15, 2017, 6:17:25 PM8/15/17
to moltre...@googlegroups.com

Hi, Mr. moltres


Much thanks to your development of moltres code, I am very interesting in it. Currently, I plan to use it to analyze steady and transient characteristic of Molten salt reactor. Unfortunately, when I compile it, some errors are shown as follows.

The moose environment is successfully installed and the Linux OS is ubuntu 16.04, and i completely follow the instruction of how to install moltres.

Any suggestions would be appreciated.

Looking forward to your reply.


Thanks,

Best wishes

Kun Zhuang


OOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/ChannelGradientBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/PostprocessorTemperatureInflowBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/DGDiffusionPostprocessorDirichletBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/VelocityFunctionOutflowBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/PostprocessorInflowBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/RobinBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/VelocityFunctionTemperatureOutflowBC.C...
MOOSE Compiling C++ (in opt mode) /home/kzhuang/projects/moltres/squirrel/src/bcs/MatINSTemperatureNoBCBC.C...
/home/kzhuang/projects/moltres/squirrel/src/bcs/ChannelGradientBC.C: 在构造函数‘ChannelGradientBC::ChannelGradientBC(const InputParameters&)’中:
/home/kzhuang/projects/moltres/squirrel/src/bcs/ChannelGradientBC.C:21:96: error:‘getVectorPostprocessorValue’is not declared in this scope
     _channel_gradient_axis_coordinate(getVectorPostprocessorValue("channel_gradient_pps", _axis)),
                                                                                                ^
/home/kzhuang/projects/moose/framework/build.mk:86: recipe for target '/home/kzhuang/projects/moltres/squirrel/src/bcs/ChannelGradientBC.x86_64-unknown-linux-gnu.opt.lo' failed
make: *** [/home/kzhuang/projects/moltres/squirrel/src/bcs/ChannelGradientBC.x86_64-unknown-linux-gnu.opt.lo] Error 1
.

Alexander Lindsay

unread,
Aug 15, 2017, 6:22:51 PM8/15/17
to moltres-users, kzh...@nuaa.edu.cn
Hi Kun,

When was the last time you pulled changes from MOOSE? Boundary conditions only recently received an interface for vector postprocessors, see https://github.com/idaholab/moose/pull/9294
Reply all
Reply to author
Forward
0 new messages