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

Problem in using new "fvOptions" called "solidificationMeltingSource"

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2019, 01:42
Default
  #21
New Member
 
S. Park
Join Date: Aug 2014
Posts: 3
Rep Power: 11
smfamily11 is on a distinguished road
Quote:
Originally Posted by farinha View Post
Hi all,

I've been trying to setup this source term for the buoyantBoussinesqPimple Foam solver.
I'm doing exactly what alexeym is saying here, but the fvOption stops the simulation due to the lack of a volScalarField for Cp.

I wonder if editing the createFields.H file to create a field for Cp would do the trick...

Does anyone know if this source term was coded solely for compressible? I mean, is there a way to set it up without editing the solver or the SMS.C file?

Thanks
Hi. Farinha.

So far, I figured it out the usage of the SMS.C with buoyantBoussinesqPimpleFoam that Cp field defined as 'volScalarField' in 'createFields.H' file, or modify SMS.C.
Perhaps, there is alternative way instead of these, but I couldn't find.
smfamily11 is offline   Reply With Quote

Old   May 17, 2021, 04:45
Default
  #22
Member
 
Join Date: Nov 2020
Posts: 53
Rep Power: 5
mikulo is on a distinguished road
Hey, the alternative is simple, just set

Cp CpRef;

not

CpName CpRef;

this works for OpenFOAM 7..
mikulo is offline   Reply With Quote

Reply

Tags
fvoptions


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
[Other] engineFoam new mesh problem ayhan515 OpenFOAM Meshing & Mesh Conversion 5 August 10, 2015 08:45
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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