|
[Sponsors] |
July 6, 2023, 10:49 |
Pressure Loss Interface
|
#1 |
New Member
Join Date: Jul 2023
Posts: 3
Rep Power: 2 |
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. |
|
Tags |
cfx, interface, pressure change, units |
|
|
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 |