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

wallShearStress using the multiphaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Severus

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2024, 17:19
Default wallShearStress using the multiphaseEulerFoam
  #1
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10
gu1 is on a distinguished road
Hi,

I need to calculate the wallShearStress using the multiphaseEulerFoam solver (OpenFOAM 9).

I used the funkySetFieldsDict function as follows:

Code:
        wallShearStress
	{
		field               wallShearStress;
		create              true;
		aliases             { Uwater U.water; }
		expression          "sqr(sqrt(3e-7*mag(snGrad(Uwater))))*7800";
		dimensions          [0 2 -2 0 0 0 0];
	}
I squared u_Tau and multiplied it by the density of the fluid.

However, the snGrad() function has apparently been suppressed. It made an error. Can anyone help me calculate the wallShearStress?
gu1 is offline   Reply With Quote

Old   February 19, 2024, 14:55
Default
  #2
Member
 
Shravan
Join Date: Mar 2017
Posts: 73
Rep Power: 9
Severus is on a distinguished road
Hello,
I am not sure how to do it with swak4Foam. There could be other people who can help you with that.

However this functionality has been implemented in OpenFOAM v11.

https://twitter.com/CFDdirect/status...28819646144515

https://cpp.openfoam.org/v11/wallShe...8H_source.html

You can see the code and possibly try to implement it in v9.

Good luck!
gu1 likes this.
Severus is offline   Reply With Quote

Old   October 14, 2024, 07:55
Default
  #3
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10
gu1 is on a distinguished road
Quote:
Originally Posted by Severus View Post
Hello,
I am not sure how to do it with swak4Foam. There could be other people who can help you with that.

However this functionality has been implemented in OpenFOAM v11.

https://twitter.com/CFDdirect/status...28819646144515

https://cpp.openfoam.org/v11/wallShe...8H_source.html

You can see the code and possibly try to implement it in v9.

Good luck!
Hi,

I remember you helped me and I would like to ask for your help again... I created the topic below, if you can visit it.

wallShearStress - MultiphaseEuler - turbulence model

Thanks.
gu1 is offline   Reply With Quote

Old   October 18, 2024, 11:01
Default
  #4
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10
gu1 is on a distinguished road
Hi,


I managed to compile, but without much success. If you can help.


wallShearStress function - OpenFOAM 9 - Error
gu1 is offline   Reply With Quote

Reply

Tags
multiphaseeulerfoam, openfoam9, wallshearstress


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
Plotting the wallShearStress - flat plate problem simucentral OpenFOAM Post-Processing 1 January 5, 2023 06:28
please help me understand the output of wallShearStress New-to-CFD OpenFOAM Post-Processing 1 May 4, 2020 06:37
Finding wallShearStress in dbnsTurbFoam BSengupta OpenFOAM 4 October 21, 2019 22:17
why does 'sample' do this? wallShearStress question CHARLES OpenFOAM Post-Processing 0 August 7, 2013 20:30
wallShearStress VS wallGradU bigrock OpenFOAM Post-Processing 0 July 2, 2013 06:54


All times are GMT -4. The time now is 08:00.