|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Nazmul Islam
Join Date: Feb 2023
Posts: 32
Rep Power: 4 ![]() |
Hi,
I am trying to implement parabolic velocity boundary condition at the inlet and writing the corresponding codes in the 'u' file within '0' folder as in the attachment. However, when I run the simulation with icoFoam, I am getting the error message as in the attachment. I appreciate your help in this regard. Cheers, Nazmul |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 792
Rep Power: 14 ![]() |
I know that the error messages can sometimes feel a little daunting to read, but do try - it literally tells you what the problem is in the first line. You are missing the "name" keyword from your boundary definition (see e.g. https://cpp.openfoam.org/v8/classFoa...d.html#details). Just add something like:
Code:
name parabolicCodedInlet; |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Nazmul Islam
Join Date: Feb 2023
Posts: 32
Rep Power: 4 ![]() |
Hi Tobermory,
Thanks for your suggestion. However, I have tried as you suggested, but got a different error message as in the attachment. Cheers, Nazmul |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Member
Nazmul Islam
Join Date: Feb 2023
Posts: 32
Rep Power: 4 ![]() |
Quote:
Hello, I have solved the problem. There was a typo in the code. I was written "Patch", but it should have written "patch". Now it works. Thanks for your suggestion. Cheers, Nazmul |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Import .csv - velocity profile - error | eSKa | CFX | 9 | April 3, 2021 14:38 |
Complex velocity boundary condition | Pavithra | OpenFOAM Running, Solving & CFD | 0 | October 2, 2019 01:17 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |