|
[Sponsors] |
![]() |
![]() |
#121 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
hi Niels,
thanks for the help.it is one fluid per inlet and also i first run the case(successfully) in icoFoam with one fluid and this is a new dimension to the problem(2 different fluids).how can i ,therefore, modify my earlier source code to cater for these two different fluids?or i have to try a new solver (interfoam)completely? thank you once again |
|
![]() |
![]() |
![]() |
![]() |
#122 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,901
Rep Power: 37 ![]() ![]() |
Hi Davey
The easiest would be to look at the damBreak case. Try to run it an see what happens. When you understand how you should set the boundary conditions etc, the apply your geometry and solve using the interFoam solver. - Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#123 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
Hi Neil,
i am trying the dambreak case now but with no success.blockmesh gives me this warning : From function polyMesh::polyMesh(... construct from shapes...) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 577 Found 10 undefined faces in mesh; adding to default patch. moreover i do not understand the gamma.org and pd files.i think there is a problem with the block faces or the blocks themselves but i am at a loss.i know it might be a bit stupid but i just cant seem to make it any better.any ideas? and also isn't there any way i can modify my earlier source code to solve this extended case of mine? thanks in advance davey |
|
![]() |
![]() |
![]() |
![]() |
#124 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,901
Rep Power: 37 ![]() ![]() |
Hi Davey
I suggest that you read on from page 55 in the User Guide. It will take you trough the setup procedure of the damBreak case. Gamma is the quantity which tells you whether it is phase 1 or phase 2 which is present in the considered volume. pd is the dynamic pressure. From my point of view it is significantly easier to use any of the multiphase solvers in stead of modifying icoFoam as it is for one phase only. - Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#125 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
hi Neil,
i have resolved dambreak to run now.trying it on my case now.thanks for your concern. davey |
|
![]() |
![]() |
![]() |
![]() |
#126 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
hi Neil,
when i run the code on my case i get the following error message: #0 Foam::error::printStack(Foam: ![]() #1 Foam::sigFpe::sigFpeHandler(int) in "/home/cfd/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: [0x110420] #3 Foam::Time::adjustDeltaT() in "/home/cfd/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #4 Foam::Time::setDeltaT(double) in "/home/cfd/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #5 main in "/home/cfd/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/jxnFoam" #6 __libc_start_main in "/lib/libc.so.6" #7 Foam::regIOobject::readIfModified() in "/home/cfd/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/jxnFoam" Floating point exception any ideas on how to turn this around? thank you. |
|
![]() |
![]() |
![]() |
![]() |
#127 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,901
Rep Power: 37 ![]() ![]() |
Hi
No, but try to sent me your entire setup, and I will give it a look today or tomorrow. - Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#128 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
hi Niels,
here are the files case: solver: thank you |
|
![]() |
![]() |
![]() |
![]() |
#129 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,901
Rep Power: 37 ![]() ![]() |
I cannot download the files. Use my email address from my profile.
/ Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#130 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
i have sent them to your mail address.
thank you |
|
![]() |
![]() |
![]() |
![]() |
#131 |
Member
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
hi,
how can add a concentration equation to the icofoam solver to cater for liquids(2) of different concentrations? thanks davey |
|
![]() |
![]() |
![]() |
![]() |
#132 |
Guest
Posts: n/a
|
Hallo to all,,
I am using the IcoFoam and I have added the T field on it.but I have linear in heat flow...Is it possible to have parabolic heat flow in icoFoam can somebody help me.. Thanks Emo |
|
![]() |
![]() |
![]() |
#133 |
Guest
Posts: n/a
|
my T file look like like this...
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.5 | | \ / A nd | Web: http://www.OpenFOAM.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 0; boundaryField { fixedWalls { type cyclic; } inlet { type fixedValue; value uniform 295; } outlet { type zeroGradient; } } // ************************************************** *********************** I want to have parabolic results...I am using icoFoam, my model is pipe.. help me... Emo |
|
![]() |
![]() |
![]() |
#134 |
Member
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 17 ![]() |
I think icoFoam cannot manage heat transfert. It doesn't solve any energy equation.
You define a T file but i think icoFoam just doesn't use it. The haet transfer solvers are given in the User guide (U-84) |
|
![]() |
![]() |
![]() |
![]() |
#135 |
Guest
Posts: n/a
|
Hallo Eric,
Thanks for answer...I have include the transfer equation this one fvScalarMatrix TEqn ( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) ); TEqn.solve(); BC T: like this /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.5 | | \ / A nd | Web: http://www.OpenFOAM.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 295; boundaryField { fixedWalls { type zeroGradient; } inlet { type fixedValue; value uniform 295; } outlet { type zeroGradient; } } // ************************************************** *********************** // it is pipe..I have now const. T and I want to have it in parabolic... is it possible.. thanks again Emo |
|
![]() |
![]() |
![]() |
#136 |
Member
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 17 ![]() |
In your T file, the air at the inlet is at 295 K, but you don't have any other surface heated or at a different temperature.
In this case, there is no heat transfert. For example, you should impose a temperature or a heat flux on your fixedWall boundary. |
|
![]() |
![]() |
![]() |
![]() |
#137 |
Guest
Posts: n/a
|
hello Again Eric,
I want exactly that in fixedWall but I don t know how to do it...my inlet is water.. Can you help me.. Thanks in advance Emo |
|
![]() |
![]() |
![]() |
#138 |
Member
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 17 ![]() |
I don't understand your problem. Water or air, you can impose a temperature on the wall for example, no?
fixedWalls { type fixedValue; value uniform 350; } The fact that you are using water is related to the constant/thermophysicalProperties file where you have to choose the right properties, models,.. See chapter 7 of the User Guide. |
|
![]() |
![]() |
![]() |
![]() |
#139 |
Guest
Posts: n/a
|
Hallo Eric,
I am beginner...I want to use IcoFoam...I have meshed simple pipe and I want to see temperature increasing or distribution...I am working with water...parabolic form there must be increasing or decreasing of T.I have now constant T. thats all... thanks can you help me really thanks Emo |
|
![]() |
![]() |
![]() |
#140 |
Guest
Posts: n/a
|
Hello,
Someone give me the idea which solver should I use for laminar flow(water) where I can see heat flux distribution on it...my shape is pipe thanks in advance Emo |
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
heat conduction in solid - mismatch to exp. res. | Ralf Schmidt | FLUENT | 1 | December 9, 2008 08:34 |
Solid mesh for heat conduction | Munni | FLUENT | 1 | December 12, 2006 12:24 |
heat conduction in a solid | francesco | FLUENT | 0 | May 27, 2004 18:00 |
Heat conduction in a solid domain | Rene | CFX | 0 | October 20, 2003 03:33 |
Heat conduction in a solid domain | S. Balasubramanyam | CFX | 10 | October 14, 2003 08:57 |