|
[Sponsors] |
September 4, 2016, 19:31 |
about $internalFields in boundary condition
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear All,
What does it mean by $internalFields? Such as in the following example: Code:
type totalPressure; p0 $internalField; U U; phi phi; rho none; psi none; gamma 1; value $internalField; ------------------- --> FOAM FATAL IO ERROR: compound has already been transfered from token on line 20 the empty compound of type List<scalar> file: /home/user/case/0.0039075/p_rgh::boundaryField::OUTFLOW:0 at line 20. From function token::transferCompoundToken(const Istream& is) in file lnInclude/token.C at line 99. FOAM aborting ------------------- I check the line 20 in the file p_rgh: it is as follows: ------------ internalField nonuniform List<scalar> // This is line 20 90111 ( ... ) ------------ I think the data for the internalField are fine. But I am not sure when I use "$interalFields" as the tutorials, the above mentioned error information always appears. I do not know what is the real reason for this. Anybody has the same problems? Thank you so much. OFFO |
|
September 5, 2016, 07:35 |
|
#2 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Hello. Everything works OK if BC is taken from the C++ guide (http://cpp.openfoam.org/v4/a02729.html). As I know, the exact value of the pressure must be pointed.
|
|
September 5, 2016, 13:21 |
|
#3 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you for pointing out the link. So do you mean for value in this BC type, is it not good to use $internalField here?
Quote:
|
||
September 6, 2016, 02:47 |
|
#4 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Yes, since it does not work.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
Accessing multiple boundary patches from a custom boundary condition file | ripudaman | OpenFOAM Programming & Development | 0 | October 22, 2014 19:34 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |