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

wallHeatFlux utility with chtMultiRegionFoam solver.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 24, 2013, 19: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: 3
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, 16:10
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 16:47
Default
  #3
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 3
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, 16:54
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Usem,

This seems very familiar to me... I think something very similar has been discussed on this thread: a problem with wallGradT

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 25, 2013, 17:15
Default
  #5
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 3
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, 19:05
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 20:18
Post
  #7
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 3
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, 17 views)
__________________
H.L
Usem is offline   Reply With Quote

Old   December 26, 2013, 15:34
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 16:17
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 06:10
Post
  #10
New Member
 
Usem's Avatar
 
Hakim Larabi
Join Date: Dec 2013
Location: France
Posts: 5
Rep Power: 3
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

Thread Tools
Display Modes

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 On
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 10 April 11, 2012 15:25
chtMultiregionFoam Solver msarkar OpenFOAM 1 February 24, 2010 03: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 08:56
Error during Solver cfd guy CFX 4 May 8, 2001 06:04


All times are GMT -4. The time now is 21:39.