CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

how to call viscosity value in in Coupling Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2023, 08:50
Exclamation how to call viscosity value in in Coupling Solver
  #1
New Member
 
Rishi Kumar
Join Date: Jun 2022
Posts: 20
Rep Power: 4
rishik686 is on a distinguished road
Hello CFD Fam, OpenFOAMers.
I am trying to couple a solver which requires viscosity in its equation.
can anyone help me with how to couple the viscosity in the solver?

It will be very helpful
__________________
Rishi K.
rishik686 is offline   Reply With Quote

Old   May 11, 2023, 16:25
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,750
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
checkout this thread

Accessing fields and dictionaries from within a BC implementation

Assuming it exists in the object registry (and it should), you can read directly from the registry using a simple lookup.

Alternatively, you can just look in the code of the original solver already using viscosity to see how the viscosity is being retrieved.
LuckyTran is offline   Reply With Quote

Reply


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 to call viscosity in openfoam Solver development rishik686 OpenFOAM Running, Solving & CFD 0 March 22, 2023 04:23
Fail to converge when solving with a fabricated solution zizhou FLUENT 0 March 22, 2021 07:33
Changing Viscosity in solver mostanad OpenFOAM Programming & Development 2 March 3, 2021 21:28
PEMFC model with FLUENT brahimchoice FLUENT 22 April 19, 2020 16:44
Problem with divergence TDK FLUENT 13 December 14, 2018 07:00


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