Simple heat conduction problem
Dear Coleagues,
I'm looking forward to solve a simple heat conduction problem using OpenFOAM, e.g., a bidimensional block with a temperature difference between east and west boundaries. North and south boundaries may be no heat flux condition. I appreciate any contribution. Regards, Marco. |
Hello,
since I can not find heatConductionFoam, I would advise to take a look at chtMultiRegionFoam. In there, just look at the solid part: solveSolid.H, createSolidFields, etc. You can find there everything you need and lots more ;) Regards, Pawel |
Pawel,
Thanks for your help. Regards, Marco |
Hi,
The solver you need is laplacianFoam. Regards, Jose Santos Quote:
|
Caro José Santos,
Creio que você deve falar português. Muito obrigado pela sugestão. Eu procurei o exemplo relacionado com o solver laplacianFoam. Encontrei flange mas não consegui fazê-lo funcionar. Você poderia me ajudar com isso, por favor? Agradeço desde já, Marco Aurélio. |
Hi Marco,
English is the official language of this forum, so lets stick to the rules. What is exactly the problem you found when trying to run the flange tutorial? Have you ran the Allrun script? Regards, Jose Santos |
Hi Jose,
sorry for the inconveniences. I have tried to run the blockMesh command. Should I run Allrun script? Regards, Marco. |
Simple heat conduction problem
Dear Colleagues,
Did you get a solution for your problem? I have a similar discussion started in following link: http://www.cfd-online.com/Forums/ope...n-problem.html How can I simulate a simple conduction problem by OF. My experience about this software is limited to cavity driven tutorial. Thanks a lot for any suggestion. |
Hi Marco,
Yes, you should run the Allrun script by typing in the terminal Code:
./Allrun Regards, Alex |
Unfortunately with lapacianFoam you cannot specify a thermophysicalModel (for example, temperature depent thermal diffusivity). You can use chtMultiRegionFoam and just define one solid region.
Cheers |
Some remarks
Dear all,
I just want to give you some advice for the sake of clearance. A simple heat conduction problem can be solved by using the laplacianFoam from the basic solvers (as already mentioned here). Another option is to use the chtMultiRegion solver (as mentioned too). But please keep in mind that you should know about the solvers. As inginheiro mentioned, the laplacianFoam solver can just be used for a fixed thermal conductivity. However he mentioned to switch to cht that I would not suggest. If you want (for example) to use a temperature depended field I would rather modify the laplacianFoam than using cht (if I would be a beginner) because cht can be very confusing and for a beginner, FOAM could be confusing (even if it is very simple to use). At least some personal suggestions for all of you:
Even if you have two solids with different conductivities, I would prefer to use laplacianFoam and just modify the conductivity to an scalarField and initial it with setFields in order to have two different physical behavior in one domain rather than using cht. Of course, if you want to have some special contact boundaries it might be worth to switch directly to some cht solver. But as I said, be sure to use the solver you need. Furthermore, I would like to have posts in which you clearly define your problem rather than just ask for a 2D conduction heat problem. As we already see, everybody is giving some own opinion and no-one knows what the thread starter really want to simulate in detail. The outcome of such things are threads with lot of single-lined replies that are annoying for people who search for an concrete answer. Furthermore, please stay to the question. Here the question was how to solve a 2D conduction problem and NOT how to use OpenFOAM or other topics that are not related to the thread. For beginners I refer to the very good new OpenFOAM Tutorial Wiki wiki.openfoam.com, the User-Guide and other sources. For most people it would be the best to sit down, open a case, and start to understand what we are doing. Finally, Linux skills for bash should be known. New question that is not related to that thread, open a new one. @Marco: If you can edit your Spanish reply, please translate it to English. And now I let you discuss in any direction you want to go ;) |
All times are GMT -4. The time now is 17:14. |