CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Pressure Loss Interface

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By evcelica

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 6, 2023, 10:49
Default Pressure Loss Interface
  #1
New Member
 
Join Date: Jul 2023
Posts: 3
Rep Power: 2
jlamb is on a distinguished road
Hi,

I'm trying to set up a pressure loss interface to model a porous material in 2D. I have used the CFX-pre theory book to find the isotropic loss model I would like to use and written it into an expression as CEL as:

dp = -(viscosity/Kperm)*Velocity - Kloss*(density/2)*Velocity^2

I have defined both Kperm and Kloss in expressions with units of [m^2] and [m^-1] respectively. This is where the issue lies. When I put this expression into the 'Pressure Change' box in my interface I get an error 'Expression resolves to invalid units (kg m^-2 s^-1). Expected units ('kg m^-1 s^-2').

I understand where this error is coming from, but cannot figure out what units I should be defining here to fix the error. The units I defined were taken from CFX's own interface (if you initialise a porous domain you can see the permability and resistance loss units), and the expression is taken directly from the theory book and replicated in multiple other sources.

If anyone has any experience with using a Pressure Change interface that would be great.
jlamb is offline   Reply With Quote

 

Tags
cfx, interface, pressure change, units


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
viscosity udf don't use correct temperature and strain rate rezvani Fluent UDF and Scheme Programming 8 May 27, 2021 05:40
How to use the CFX periodic interface zhihuawan CFX 61 January 15, 2018 16:20
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 15:00


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