|
[Sponsors] |
April 6, 2012, 06:44 |
Boundary condition in chtMultiRegionFoam
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear all,
I am trying to simulate a case in OF, using the chtMultiRegionFoam solver. I have `a slice' of the whole domain and on the lateral faces I want to impose a symmetry boundary condition. I get this error Code:
lab@lab-laptop:~/Documenti/cases_OF/OF_case11bis_multiregion$ splitMeshRegions -cellZones -overwrite /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-0bc225064152 Exec : splitMeshRegions -cellZones -overwrite Date : Apr 06 2012 Time : 11:27:42 Host : "lab-laptop" PID : 4690 Case : /home/lab/Documenti/cases_OF/OF_case11bis_multiregion nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Creating single patch per inter-region interface. Trying to match regions to existing cell zones. Number of regions:3 Writing region per cell file (for manual decomposition) to "/home/lab/Documenti/cases_OF/OF_case11bis_multiregion/constant/cellToRegion" Writing region per cell as volScalarField to "/home/lab/Documenti/cases_OF/OF_case11bis_multiregion/0/cellToRegion" Region Cells ------ ----- 0 24900 1 81885 2 57615 Region Zone Name ------ ---- ---- 0 -1 domain0 1 -1 domain1 2 -1 domain2 Sizes of interfaces between regions: Interface Region Region Faces --------- ------ ------ ----- Reading volScalarField Ypmma --> FOAM FATAL IO ERROR: inconsistent patch and patchField types for patch type symmetryPlane and patchField type calculated file: /home/lab/Documenti/cases_OF/OF_case11bis_multiregion/0/Ypmma::boundaryField::.* from line 25 to line 26. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 164. FOAM exiting Could you help, please? Thanks a lot, Samuele |
|
April 6, 2012, 18:25 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Samuele,
You're opening a lot of threads about chtMultiRegionFoam... although it might look easier for you to ask questions this way, it makes a lot harder for people to answer and for others to look for the same answers... Now, let me read again your question on this thread... Ah, right. The problem here is this: Code:
boundaryField::.* Anyway, since you're using a regular expression, means that the definitions made within that block will apply to all boundary fields. This cannot be done in some cases, like what happened in your case. Now on to another thread ... Best regards, Bruno
__________________
|
|
April 10, 2012, 05:43 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear Bruno,
once again, sorry for the `spam'.. I thought it was better to open a new thread for each question. So, let's move to this thread. Do you agree? Thanks, Samuele. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Can anyone give me some hint on how to make traction free boundary condition? | poplar | OpenFOAM | 3 | January 14, 2015 03:37 |
Boundary Conditions | Thomas P. Abraham | Main CFD Forum | 20 | July 7, 2013 06:05 |
Setting outlet Pressure boundary condition using CAFFA code | Mukund Pondkule | Main CFD Forum | 0 | March 16, 2011 04:23 |
How to set boundary condition in Fluent for the fo | Peiyong | FLUENT | 1 | November 10, 2006 12:44 |