|
[Sponsors] |
![]() |
![]() |
#1 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
Hi..
after meshing my case successfully, I run simpleFoam, to obtain the following error. can anyone tell me what should i do? Quote:
Last edited by izna; August 10, 2013 at 03:18. |
||
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Patrick Wollny
Join Date: Apr 2010
Posts: 58
Rep Power: 16 ![]() |
Looks like you forgot the word "uniform" for your velocity inlet boundary condition
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
hi
this is my file for U.. I have not forgotten the word uniform.. ![]() Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 ![]() |
all your "$"-parameters are not set.
I assume you should run a script which replaces all the $-parameters with right value
__________________
In memory of my friend Hervé: CFD engineer & freerider ![]() |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
dear Max,
can you please elaborate... ![]() where to define those parameters? i mean which folders? |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 ![]() |
I am not experienced with atmBoundaryLayerInletVelocity, but for sure the third line of your U file should look like "internalField uniform (0 0 0);"
where (0 0 0) is the velocity vector for domain initialization. But you have "internalField uniform $flowVelocity;" $flowVelocity is a parameter for a script, which should automatically set the velocity vector (understand replace $flowVelocity with the right vector). So either you get this script, and you run it, or you replace all the "$-parameters" with their right values. The script is not a part of OF.
__________________
In memory of my friend Hervé: CFD engineer & freerider ![]() |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
hi thanks for the reply dear max
can you tell me what does the followingh error means? I get this when i run ./Allrun Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#8 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 ![]() |
edit "Allrun" file and check what it is supposed to do.
__________________
In memory of my friend Hervé: CFD engineer & freerider ![]() |
|
![]() |
![]() |
![]() |
![]() |
#9 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
i got that case from the net and each i am geting the same error..
|
|
![]() |
![]() |
![]() |
![]() |
#11 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 ![]() |
check this script runAskervein.py
__________________
In memory of my friend Hervé: CFD engineer & freerider ![]() |
|
![]() |
![]() |
![]() |
![]() |
#12 |
Member
Patrick Wollny
Join Date: Apr 2010
Posts: 58
Rep Power: 16 ![]() |
Have you installed pyFoam?
|
|
![]() |
![]() |
![]() |
![]() |
#13 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
On installing the pyFOam and again running ./Allrun.. i obtain the foll error..
Quote:
Last edited by izna; August 13, 2013 at 06:24. |
||
![]() |
![]() |
![]() |
![]() |
#14 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#15 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 ![]() |
with check I meant edit the file and check what it is executing...
For running it, you have to know which arguments etc... you have to enter. But I don't know exactly what does this script and I suggest you to ignore it and go back to basics: set your BC properly and run simpleFoam.
__________________
In memory of my friend Hervé: CFD engineer & freerider ![]() |
|
![]() |
![]() |
![]() |
![]() |
#16 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
Each time same error.. I need help badly
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#17 | |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 ![]() |
Quote:
Code:
#include "include/initialConditions" Code:
flowVelocity (10 0 0); |
||
![]() |
![]() |
![]() |
![]() |
#18 | |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 ![]() |
Quote:
I never used "include/initialConditions
__________________
In memory of my friend Hervé: CFD engineer & freerider ![]() |
||
![]() |
![]() |
![]() |
![]() |
#19 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 ![]() |
The correct values will be used. Pretty handy if you need variables at multiple places. You can include any file that you wish. For example, sometimes I include the blockMeshDict in the setFieldsDict, works perfectly fine.
Especially in OF 2.2, there are some advanced possibilities, see: http://www.openfoam.org/version2.2.0/pre-processing.php |
|
![]() |
![]() |
![]() |
![]() |
#20 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 ![]() |
Hi Bernard Below is my ABL file.. I have configured everyhting step by step and all my $ have been already initialised.. still i get error..
![]() Quote:
|
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 15:26 |
Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 06:27 |
Trying to run a benchmark case with simpleFoam | spsb | OpenFOAM | 3 | February 24, 2012 09:07 |
simpleFoam crash -> How to solve | tH3f0rC3 | OpenFOAM | 4 | May 12, 2011 07:07 |
Naca0012 k-e mpirun gives fpe whereas simpleFoam not | Pierpaolo | OpenFOAM | 1 | May 8, 2010 03:08 |