|
[Sponsors] |
December 30, 2011, 20:21 |
Which patch type for domain inlet? wall?
|
#1 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Hello,
I want optimize hydrofoils using a "watertunnel" domain. The domain has a symmetry mirror plane so only one wing gets calculated. The case setup is based on the motorBike case. The turbulence model is kOmegaSST, suitable for lowRe (the hydrofoils operate in a Re range between 300.000 and 2.000.000). Running simpleFoam leads to the following error: ... [2] --> FOAM FATAL ERROR: [2] Invalid wall function specification Patch type for patch minX_inlet must be wall Current patch type is patch ... Find attached the log file. Is the domain inlet really a patch of type wall? Find attached the related files (boundary...). Klaus |
|
February 1, 2023, 00:55 |
|
#2 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi,
Just wondering if anyone has figured out to fixed the bug on '' how to set nutwallfunction when blockmesh had already define an inlet as a patch In my case I need to set an inlet velocity to domain so setting the inlet patch to wall is not an option. I am using OF7, any help is much appreciated. Thanks |
|
February 1, 2023, 04:19 |
|
#3 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello,
You are not supposed to use a wall function on a inlet since wall functions are meant to be used on... walls. On the inlet, nut should be set at calculated. Regards, Yann |
|
February 1, 2023, 19:54 |
|
#4 | |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Quote:
Thank you for the reply. I am aware of that, and I was trying to assign 'calculated' BC to Inlet and Outlet (minX ans maxX in my case set-up) defined as patch in blockMesh. But I am getting an error of ''Attempt to cast type calculated to type nutWallFunction at index 0'' when I am trying to do so. I am trying this simplest chtMultiRegionFoam case with kOmegaSST turbulent model. OF version is v2012 and the case is running on windows with Ubuntu 20.04. Perhaps something wrong with 'omega' BC definitions, but I tried all the combinations I could think of. The only time I got my case running is when I set inlet and outlet to ''type wall'' in blockMesh. For consideration, I am attaching my all the case files, It is very much appreciated if you could shred some light. Thank you Dasith |
||
February 2, 2023, 04:40 |
|
#5 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Quote:
I had a look at your files, and you get this error because you still have wall functions applied on minX and maxX on omega. Replace it with fixedValue or inletOutlet as you did on k and it should be fine. Regards, Yann |
||
February 2, 2023, 21:34 |
|
#6 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Yann,
Its up and running now!!! Thank you very much . If anyone else is interested, I just attached the running case files. Cheers, Dasith |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 13:23 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 05:32 |
Flow Around a Cylinder | ronaldo | OpenFOAM | 5 | September 18, 2009 09:13 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |