|
[Sponsors] |
April 28, 2023, 10:08 |
parabolic velocity boundary condition
|
#1 |
Member
Nazmul Islam
Join Date: Feb 2023
Posts: 32
Rep Power: 3 |
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 |
|
April 29, 2023, 06:11 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
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; |
|
April 29, 2023, 10:37 |
|
#3 |
Member
Nazmul Islam
Join Date: Feb 2023
Posts: 32
Rep Power: 3 |
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 |
|
May 1, 2023, 07:02 |
|
#4 | |
Member
Nazmul Islam
Join Date: Feb 2023
Posts: 32
Rep Power: 3 |
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 |
||
|
|
Similar Threads | ||||
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 |