|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Devesh Baghel
Join Date: Mar 2009
Posts: 84
Rep Power: 17 ![]() |
Hi foamers,
I am trying to simulate Heat transfer problem in OF 1.6 with "chtMultiRegionFoam". I gone through the tutorial "multiRegionHeater" inside of "chtMultiRegionFoam". I did case set up & run it, as it is shown in tutorial. While post-processing in ParaFoam "Volume Fields" has nothing to show. It doesn't have any single property/parameter to do post-processing. ![]() Any suggestion / guidelines to resolve this problem will be appreciable. Thanks alot....... |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
J H
Join Date: Mar 2009
Location: Germany
Posts: 20
Rep Power: 17 ![]() |
Hi,
you have to load each region in paraview. open the .OpenFOAM files with paraview. greetings |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 ![]() |
Hi,
in the multiRegionheater folder, do "./Allrun" When the run completes, type "paraview". Then click "open". then, you can select the region(s) you want to visualize, for example multiRegionheater{bottomAir}.OpenFOAM After this, you can visualize whatever parameters you are interested in, such as T, p, U.. While in the same session, you can open more regions. Pei |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Mar 2010
Posts: 14
Rep Power: 16 ![]() |
hi devesh,
This is Rahul here. I am new in OpenFoam. I am using Ubuntu9.04, OpenFOAM-1.6. I am trying to go through the heat transfer tutorial ->chtMultiRegionFoam. I am getting following message in terminal. rahul@rahul-desktop:~/OpenFOAM_compile/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater$ chtMultiRegionFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-53b7f692aa41 Exec : chtMultiRegionFoam Date : Apr 01 2010 Time : 11:24:17 Host : rahul-desktop PID : 28223 Case : /home/rahul/OpenFOAM_compile/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create fluid mesh for region bottomAir for time = 0.001 Create fluid mesh for region topAir for time = 0.001 Create solid mesh for region heater for time = 0.001 Create solid mesh for region leftSolid for time = 0.001 Create solid mesh for region rightSolid for time = 0.001 *** Reading fluid mesh thermophysical properties for region bottomAir Adding to thermoFluid Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>> #0 Foam::error: ![]() #1 Foam::sigFpe::sigFpeHandler(int) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::hPsiThermo<Foam: ![]() #4 Foam::hPsiThermo<Foam: ![]() #5 Foam::basicPsiThermo::addfvMeshConstructorToTable< Foam::hPsiThermo<Foam: ![]() #6 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libbasicThermophysicalModels.so" #7 main in "/home/rahul/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/chtMultiRegionFoam" #8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #9 _start at /build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122 Floating point exception I am not getting what exactly it is. So pls help m in regard. Thank u..!! |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Rahul,
Uhm, I guess you didn't read properly what Pei said in post #3: Quote:
Code:
./Allrun Bruno |
||
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 ![]() |
Hi Bruno..
can u plz help me to sort out the pbm in chtMultiRegionFoam.. After running Allrun I m getting following error.. javed@javed:~/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater$ ./Allrun blockMesh already run on /home/javed/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater: remove log file to run setSet already run on /home/javed/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater: remove log file to run setsToZones already run on /home/javed/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater: remove log file to run splitMeshRegions already run on /home/javed/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater: remove log file to run ./Allrun: 19: Syntax error: Bad fd number Thanks Javed |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Javed,
OK, run the following lines: Code:
foamCleanTutorials rm log.* rm *.OpenFOAM bash Allrun Now, the forth line forces bash to be used to execute the Allrun script, instead of sh. Nonetheless, If you still want to use "./Allrun", then edit the Allrun file, and change the first line: Code:
#!/bin/sh Code:
#!/bin/bash ![]() Edit: By the way, in case you want to run in single core instead of multi-core, go near the end of the Allrun file and change: Code:
#-- Run on single processor #runApplication chtMultiRegionFoam # Decompose for i in bottomAir topAir heater leftSolid rightSolid do decomposePar -region $i >& log.decomposePar.$i done # Run runParallel chtMultiRegionFoam 4 # Reconstruct for i in bottomAir topAir heater leftSolid rightSolid do reconstructPar -region $i >& log.reconstructPar.$i done Code:
#-- Run on single processor runApplication chtMultiRegionFoam # Decompose #for i in bottomAir topAir heater leftSolid rightSolid #do # decomposePar -region $i >& log.decomposePar.$i #done # Run #runParallel chtMultiRegionFoam 4 # Reconstruct #for i in bottomAir topAir heater leftSolid rightSolid #do # reconstructPar -region $i >& log.reconstructPar.$i #done Best regards, Bruno Last edited by wyldckat; April 5, 2010 at 17:00. Reason: added a tip... |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 ![]() |
Hi Bruno..
Thanks for the detailed reply...need ur help again.. I have added temperature in the icoFoam solver but dont know how to run the code.. I m getting the follwoing error while running on icoFoam directoryjaved@javed:~/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/incompressible/icoFoam/mycavity$ myicoFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-53b7f692aa41 Exec : myicoFoam Date : Apr 08 2010 Time : 00:22:45 Host : javed PID : 20830 Case : /home/javed/OpenFOAM-RUN/OpenFOAM-1.6/tutorials/incompressible/icoFoam/mycavity nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading transportProperties Reading field p Reading field U Reading field T Reading/calculating face flux field phi Starting time loop Time = 0.005 Courant Number mean: 0 max: 0 DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 2.96338e-06, No Iterations 8 DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0 DICPCG: Solving for p, Initial residual = 1, Final residual = 7.55402e-07, No Iterations 35 time step continuity errors : sum local = 5.03809e-09, global = 1.94884e-19, cumulative = 1.94884e-19 DICPCG: Solving for p, Initial residual = 0.523591, Final residual = 9.72352e-07, No Iterations 34 time step continuity errors : sum local = 1.07766e-08, global = 4.49324e-19, cumulative = 6.44208e-19 Unknown asymmetric matrix preconditioner DIC Valid asymmetric matrix preconditioners : 4 ( none GAMG diagonal DILU ) file: From function lduMatrix: ![]() in file matrices/lduMatrix/lduMatrix/lduMatrixPreconditioner.C at line 125. FOAM exiting I m referring http://openfoamwiki.net/index.php/How_to_add_temperature_to_icoFoam tutorial. Plz help...Thanks |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Javed,
Unfortunately, I have nearly no experience in adding new features to OpenFOAM solvers. Nonetheless, this seems to be the main issue: Code:
Unknown asymmetric matrix preconditioner DIC Valid asymmetric matrix preconditioners : 4 ( none GAMG diagonal DILU ) Best regards, Bruno |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with running chtMultiRegionFoam after using setSet utility | Victor | OpenFOAM | 12 | March 24, 2023 00:01 |
chtMultiRegionFoam with Boussinesq approximation? | phsieh2005 | OpenFOAM Running, Solving & CFD | 1 | June 23, 2015 19:07 |
How to add 3rd region to chtMultiRegionFoam | benk | OpenFOAM | 1 | April 3, 2010 17:22 |
chtMultiRegionFoam near Wall Treatment/ Wallfunctions | stawrogin | OpenFOAM | 0 | March 18, 2010 14:36 |
chtMultiregionFoam | msarkar | OpenFOAM | 21 | February 10, 2010 23:12 |