|
[Sponsors] |
Problems configuring a case with a converted axisymmetric mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 14, 2013, 07:49 |
Problems configuring a case with a converted axisymmetric mesh
|
#1 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
helo bobi ,
i converted my 2D axisymmetry fluent mesh into OF and then changed the 0 folder according to my values also i checked mesh with checkmesh command its ok but when i tried to run it run it is giving me following error , can you please help me how to overcome from this error ? FOAM FATAL IO ERROR: inconsistent patch and patchField types for patch type symmetryPlane and patchField type empty file: /home/yash/OpenFOAM/yash-2.2.0/run/tutorials/compressible/rhoCentralFoam/exsercisePrb/0/p.boundaryField.Axis from line 39 to line 39. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 165. |
|
August 14, 2013, 08:54 |
|
#2 | |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Quote:
attach your p file here.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
||
August 14, 2013, 11:24 |
|
#3 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi
It seems that you have problem with your patch type definition. In the tutorial Tobi has defined a wedge typed mesh and has set consistent pressure types for different patch types. your problem is a tiny one. Just take a deeper look into the defined patch types in Tobi tutorial. Although my suggestion is making a wedge-typed mesh instead of a plane. Good Luck Bobi |
|
August 14, 2013, 14:27 |
|
#4 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
here is my p file of 0 folder please have a look ....
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 101325; boundaryField { fuel_inlet { type zeroGradient; } coflow_inlet { type zeroGradient; } Outlet { type zeroGradient; } Axis { type empty; } Upperwall { type zeroGradient; } frontAndBack { type empty; } } // ************************************************** *********************** // |
|
August 14, 2013, 14:38 |
|
#5 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
helo bobi ,
In my boundary file under polymesh (constant ), the axis is defined as the symmetric plane after my geometry conversion . Now should i write same symmetric plane in each variables in the 0 file for the axis . thanks alot for your cont. help |
|
August 14, 2013, 15:58 |
|
#6 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Sonu my guess was right,you should set axis type in p file as symmetryPlane not empty if its really symmetryPlane.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 15, 2013, 11:26 |
|
#7 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi Sonu
As ehsan has hinted; the types of boundaries in boundary file , even the names (upper letters or not) must be the same as what you set for flow variables as like pressure. Although I think you have solved it by now. Bobi |
|
August 16, 2013, 09:32 |
|
#8 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
helo bobi,
actually my mesh is in cm and now i think i need to convert it into m , so as per my knowledge i have to use command transformPoints '(0.01 0.01 0.01)' but when i am giving this command then its giving the error : Usage: transformPoints [OPTIONS] options: -case <dir> specify alternate case directory, default is the cwd -noFunctionObjects do not execute functionObjects -parallel run in parallel -region <name> specify alternative mesh region -rollPitchYaw <vector> transform in terms of '(roll pitch yaw)' in degrees -roots <(dir1 .. dirN)> slave root directories for distributed running -rotate <(vectorA vectorB)> transform in terms of a rotation between <vectorA> and <vectorB> - eg, '( (1 0 0) (0 0 1) )' -rotateFields read and transform vector and tensor fields too -scale <vector> scale by the specified amount - eg, '(0.001 0.001 0.001)' for a uniform [mm] to [m] scaling -translate <vector> translate by the specified <vector> - eg, '(1 0 0)' -yawPitchRoll <vector> transform in terms of '(yaw pitch roll)' in degrees -srcDoc display source code in browser -doc display application documentation in browser -help print the usage Using: OpenFOAM-2.2.0 (see www.OpenFOAM.org) Build: 2.2.0-b363e8d14789 --> FOAM FATAL ERROR: Wrong number of arguments, expected 0 found 1 can you please tell me whats wrong here ?? thanks a lot for your continuous help |
|
August 16, 2013, 09:39 |
|
#9 |
Senior Member
|
The usage would be:
Code:
transformPoints -scale '(0.01 0.01 0.01)' Tom |
|
August 16, 2013, 09:42 |
|
#10 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
thanks a lot Tom i will try with this .....
|
|
August 16, 2013, 12:56 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
FYI: Given that the topic of questions had changed from the original thread http://www.cfd-online.com/Forums/ope...tml#post445613 (from right after the post #208), I've moved the posts above to this new thread you are currently reading.
edit: and moved the question about rhoCentralFoam to here: http://www.cfd-online.com/Forums/ope...ntralfoam.html Last edited by wyldckat; August 18, 2013 at 10:34. Reason: see "edit:" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Problems converting a Fluent case file | McFly | OpenFOAM Meshing & Mesh Conversion | 12 | July 21, 2019 21:02 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |