CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

wallHeatFlux utility with chtMultiRegionFoam solver.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2013, 18:13
Post wallHeatFlux utility with chtMultiRegionFoam solver.
  #1
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 12
Usem is on a distinguished road
Hi every body,

I try to modify wallHeatFlux utility to include Nusselt Number in time folder to assess the evaluation of Nu in paraView. I can visualize wallHeatFlux data but not Nusselt number variation.... please any help.
Usem is offline   Reply With Quote

Old   December 25, 2013, 15:10
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Usem and welcome to the forum!

If you provide more specific details, it might be easier to help you.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 25, 2013, 15:47
Default
  #3
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 12
Usem is on a distinguished road
hello Bruno,
Thank you to reply...

I'm working on a flow around a cylinder (extarn convection), the mesh includes two regions: air & solid, I separate them with airToSolid part. see linked file:

https://dl.dropboxusercontent.com/u/...linderFlow.rar

I managed to extract the heat flux using wallHeatFlux utility , and now, I want to use those heat flux data to plot Nusselt number and compare it to theoritical correlations.

Thanks.
Usem is offline   Reply With Quote

Old   December 25, 2013, 15:54
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Usem,

This seems very familiar to me... I think something very similar has been discussed on this thread: http://www.cfd-online.com/Forums/ope...wallgradt.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 25, 2013, 16:15
Default
  #5
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 12
Usem is on a distinguished road
thanks Bruno,

Yeah, i see the case but wallGradT utility is not compatible with multiRegion problem, i try to run it on my case and it doesn't accept region argument.

I'm trying to modify walHeatFlux to compute Nu Number... after compiling..
__________________
H.L
Usem is offline   Reply With Quote

Old   December 25, 2013, 18:05
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by Usem View Post
I'm trying to modify walHeatFlux to compute Nu Number... after compiling..
If you can describe the changes you've made, it would be easier to help you.
wyldckat is offline   Reply With Quote

Old   December 25, 2013, 19:18
Post
  #7
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 12
Usem is on a distinguished road
Copy the wallHeatFlux application from $FOAM_APP.
Remplace wallHeatFlux.C to NusseltNumber.C
and all wallHeatFlux to NusseltNumber.
I remplace the hCombustionThermo.H by basicThermo.H adaptable for my case.

I implemanted the Nusselt number equation ... NU= ( h* length ) / k , on NusseltNumber.C

my problem is to creat a file where I put, length, k, and temperture values, when I put it in constant/ folder it signal me error....
Attached Images
File Type: jpg scr.jpg (21.5 KB, 59 views)
__________________
H.L
Usem is offline   Reply With Quote

Old   December 26, 2013, 14:34
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Hakim,

That error message indicates that there is no mesh inside your case.

I'll try to have a better look into recreating that utility closer to the weekend.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 5, 2014, 15:17
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Hakim,

I've finally managed to give a quick look into this. I got the same error message when I didn't use the "-region" option.
Try running inside the folder "cylinderFlow" these two commands:
Code:
wallHeatFlux -region air
wallHeatFlux -region solid
I did not create the utility for calculating Nusselt, since it looks like the problem was that you were missing the "-region" option when calling your customized application.

If you were already using the "-region" option, I need to know what were the exact steps you did for this:
Quote:
Originally Posted by Usem View Post
my problem is to creat a file where I put, length, k, and temperture values, when I put it in constant/ folder it signal me error....
Namely which specific file, where did you place it and what is its content.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 6, 2014, 05:10
Post
  #10
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 12
Usem is on a distinguished road
Indeed, the utility "wallHeatFlux" like some others aren't compatible with multi-region case. But this is not the problem. I managed to find the combination "wallHeatFlux -region air" & "Parafoam -region air " in OpenFoam Doc

For changes that I made on "wallHeatFlux" utility to calculate the Nusselt number. when I have time I will try to publish a blog post on CFD-online.

I'll keep you posted.

Thank you for your reply. I wish you good day.

Hakim
__________________
H.L
Usem is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, wallheatflux


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
different results between serial solver and parallel solver wlt_1985 FLUENT 11 October 12, 2018 08:23
chtMultiregionFoam Solver msarkar OpenFOAM 1 February 24, 2010 02:56
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08
Intercalls between applications calling a solver utility vvqf OpenFOAM Running, Solving & CFD 1 December 12, 2005 07:56
Error during Solver cfd guy CFX 4 May 8, 2001 06:04


All times are GMT -4. The time now is 15:17.