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

Modification of the S-S cavitation model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2022, 07:00
Default Modification of the S-S cavitation model
  #1
New Member
 
Xinzhen
Join Date: Nov 2022
Posts: 3
Rep Power: 4
Xinzhen is on a distinguished road
I am trying to modify the S-S cavitation model in OpenFOAM by taking place the Psat_ with a new volScalarField pressure. But when I added a new Member property in phaseChangeTwoPhaseMixture class, I find I can't initialize the volScalarField by it's Constructors. It seems that its constructor has no effect! Can anyone tell me how to initialize it?
Attached Images
File Type: png 11271.PNG (53.6 KB, 15 views)
File Type: png 11272.PNG (65.0 KB, 12 views)
Xinzhen is offline   Reply With Quote

Old   November 28, 2022, 10:13
Default
  #2
Member
 
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4
überschwupper is on a distinguished road
I dont know if I understand you correctly, but you missed an underscore in your initialization list
It should be PSAT_(//content) not PSAT(//content)
überschwupper is offline   Reply With Quote

Reply

Tags
cavitation model


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
How does the solver solve for Singhal model for cavitation? Jheel Main CFD Forum 0 July 18, 2018 11:57
how to incorporate the temperature of fluid in pressure based cavitation model arindamsantra7 FLUENT 31 November 24, 2014 03:19
CFX Cavitation Model kimotbwb CFX 10 November 12, 2013 22:24
fluent's "outflow" BC not compatible with Singhal cavitation model? aditya.pandare FLUENT 3 October 24, 2013 14:16
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


All times are GMT -4. The time now is 16:46.