|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 124
Rep Power: 6 ![]() |
Hi,
I am just wondering why this; Code:
maxZ
{
type uniformFixedValue;
uniformValue
{
type sine;
frequency 10;
amplitude 1;
// A vector Function1
scale (1 0.1 0);
level (10 1 0);
}
}
The error I am getting is Code:
--> FOAM FATAL IO ERROR:
Expected a '(' while reading VectorSpace<Form, Cmpt, Ncmpts>, found on line 46 the label 1
Thanks Dasith |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,358
Rep Power: 32 ![]() ![]() |
Hello,
It looks like the amplitude parameter expects a vector rather than a scalar. Regards, Yann |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 124
Rep Power: 6 ![]() |
Hi Yann,
thank you and you are right, if anyone else also looking for this, it should be something like this; Code:
maxZ
{
type uniformFixedValue;
uniformValue
{
type sine;
frequency 10;
amplitude (0 0 0.1)(0 0 0)1; //vector, grad, comp
// A vector Function1
scale (1 0.1 0);
level (10 1 0);
}
}
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fatal overflow in linear solver. | iamnotfajar | CFX | 9 | October 28, 2020 05:47 |
| Pressure boundary condition for inlet with opening | AS_Aero | CFX | 4 | August 4, 2020 08:30 |
| Pressure Inlet Boundary Condition Issue | zoeburton1987 | FLUENT | 0 | May 15, 2012 10:20 |
| RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
| Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |