Heattransfer of a pipe using chtMultiRegionFoam
2 Attachment(s)
Hi,
i am trying to simulate the heat transfer from a steel pipe to the water inside of it using chtMultiRegionFoam. I started out with a very loose Mesh and the easiest geometry i could think of. The outer wall is supposed to have a fixed temperature, and the water has a fixed flow rate. I am interested in the pressure loss and how much heat the water can carry away. The actual geometry is very complex and the flow is quite turbulent. Therefore i tried to implement a turbulence model (k-epsilon) to it. But even in this easy case i can not get it to work. The laminar version works fine. I have never worked with turbulent flow before and changed the files provided by the chtMultiRegionFoam tutorials. Could this be a problem of the mesh? When running the case with turbulence it states "Maximum number of iterations exceeded" Some tips on how to implement this properly would be really appreciated. Please scroll down for an updated download file uploaded by me. |
Quote:
Doesn't the chtMultiRegionFoam handle turbulence? Correct me if I'm wrong. Looking at the snappyMultiRegionHeater tutorial, I think you can switch on the turbulence by specifying Kepsilon model in the RASproperties instead of laminar. |
I cant see the arquives
|
It can. My problem is, that it won't solve any more as soon as i turn that switch. Instead of heating up the water inside of the pipe the temperature drops significantly and the solver crashes.
Code:
epsilon: Code:
[2] --> FOAM FATAL ERROR: |
Quote:
in your BC for k and epsilon for the inlet and outlet, I'm not quite sure if you can specify a fixedValue for them, instead use wallFunction on them similar to what you did with the wall BC. see if that makes any difference. |
Helpinf
Hi Foarmers
I want simulate evaporation in two phase.(gaz and liquid) with conjugate heat transfer.But i dont know i use two phase solver (such as interFoam or interPhasechangeFoam) and add solid Region or use chtMultiRegionFoam and modify for twophase?? |
Quote:
you should probably use chtMultiRegionFoam as a basis and add phase change into the code. To do that, I will imagine you take the solveFluid.H from chtMultiRegionFoam and replace it with interPhaseChangeFoam (not a direct plug and play of course). Any thoughts? |
Quote:
Do you Know how modify SolveFluid.H for two phase?because for evaporation we have energy equation and source term with mass transfer model.i dont know how implemented this object in this solver?can you guide me? |
Quote:
There's probably going to be something broken along the way that needs to be fixed...let me know! |
Quote:
Thank you For Reply and Helping But i have another question? chtMultiRegionFoam is for compressible fluid,But for me is incompresible fluid (water).is there chtMultiRegionFoam solver for incompresible? Regards, |
Sasy, opening your own topic for that would have been better instead of posting here with unrelated things to my problem. Nevertheless let me answer that question:
chtMultiRegion can solve incompressible fluids. My entire topic states that. Download my case and look at the propertys of the water phase. In addition the tutorial case Liquidheater is probably a good start for that. On demand here a few links to the case with a fine mesh and some improvements. http://www.file-upload.net/download-...nt.tar.gz.html https://mega.co.nz/#!Z8JzjBZI!Swl7T1...sWLQOzZbRjUW1U I have not uploaded stuff for a while now. If another hoster would be appreciated please feel free to contact me. You can start the case by typing chtMultiRegionFoam paraFoam -touchAll paraFoam -builtin The SplitMeshRegion or other commands are not included. For simplicity i did not use changedictionary or other tweaks. It is probably an error of mesh or boundary condition. Some tips would be really appriciated http://picload.org/thumbnail/olaprpa/3.pnghttp://picload.org/thumbnail/olaprpr/2.pnghttp://picload.org/thumbnail/olapriw/1.png |
Hello everybody!
Do you know if, maybe thanks to one of the recent updates, OpenFOAM is now able to solve two phase flows with with conjugate heat transfer? Thanks a lot anyway |
Hi Stephan,
thank you so much for this case. I am using openfoam 2.2.2. As I tried to chtMultiRegionFoam the case, I always get the following message. Could you help me out? Thank you, peter Code:
--> FOAM FATAL ERROR: |
Hello! Were you able to solve you problem?
I'm trying to solve similar problem - heat transfer with turbulent flow through very complex domain. Did you try using steady-state solver? |
Quote:
I didn't have time to look at it again. But, I will work hopefully, in this week. So, if I solve the problem I will tell you. Best Kumudu |
1 Attachment(s)
Hi Stephan!
I wonder if you can take a look at my case and see if I'm using correctly BCs. Thank you! Sergey |
Quote:
took a quick look, and all of your fields are using "calculated" BC, which can't be right.... did you upload the correct version? and you need to specify the initial conditions for solidDomain and fluidDomains separately like you had for constant and system directory. |
4 Attachment(s)
Hi zhengzh5!
I still didn't solve my problem completely. But had some progress. I was able to obtain conformal mesh using STL geometry and snappyHexMesh utility and to set up transient and steady-state cases. The cases run OK. The velocity distribution in the fluid region and temperature distribution in the solid region looks realistic, but the temperature distribution in the fluid region doesn't look realistic. It looks that heat doesn't flow into the fluid region. I'm not sure where is the problem, wheather it is the problem with boundary conditions or with thermophysical properties. The boundary conditions in 0/ folder are initialy "calculated", but then they are replaced with other conditions using changeDictionry for both fluid and solid regions. Can you please take a look at my cases? I wonder if you could see any problems with case setup? Thank you! |
2 Attachment(s)
Here are my cases: transient and steady
|
Quote:
sorry, didn't notice that you were using changeDictionary for the initial conditions. 1. I don't have time to run your cases yet, but what's the dimension for your geometry? I noticed that your fluid flow is 0.1 m/s, and the fluid entering the domain is set at 300K. Therefore, if the fluid doesn't stay in the domain long enough, it wouldn't pick up too much energy from the heated solid. 2. for your temperature BC at the outlet. try using zeroGradient instead of inletOutlet. I think with your current setup, you're telling the solver that in case there's any fluid flowing back into the domain, the temperature should be set at 300K. In reality, the temperature should be the temperature of the fluid exiting the domain. 3. you can always try using polynomial thermophysical instead of constant properties if you expect the temperature to vary quite a bit from your reference value in order to account of varying Cp, viscosity and kappa. Lets give that a shot and see =) Regards, |
All times are GMT -4. The time now is 00:53. |