|
[Sponsors] |
December 2, 2009, 05:07 |
Dimensionless variables
|
#1 | |
Senior Member
|
Hi everybody!
I wonder if it is possible to use dimensionless variables in OpenFOAM? I tried it on my own and it didn't work. For example, using icoFoam, we can transform continuity and momentum equations to form: div U = 0 D U/ Dt = 1/Re laplacian(U) - grad p and icoFoam produces fatal error and exits: Quote:
So the only solution seems to to be using same dimensions, but rescaling values. But it is not correct from formulation side... Is there any other solution? Waiting for your response! Have a good day!
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
||
December 2, 2009, 05:22 |
|
#2 |
Senior Member
|
Already found some answers on forum at
http://www.cfd-online.com/Forums/ope...-mesh-etc.html and at http://openfoamwiki.net/index.php/Ma...al_checking.3F Answering possible future questions why I'm using dimensionless calculations - first, it is better numerically to use dimensionless variables, and second, than its is possible to compare two different flows, two different process regimes and so on.
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
December 2, 2009, 06:10 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
December 2, 2009, 06:21 |
|
#4 |
Senior Member
|
Thank you, Bernhard!
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
May 27, 2013, 13:25 |
|
#5 | |
New Member
OFghost
Join Date: Feb 2013
Location: Canada
Posts: 8
Rep Power: 13 |
Hi,
can you please explain the dimensions of each term in icoFoam, fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) ); solve(UEqn == -fvc::grad(p)); Actually, I am trying to solve NS by non-dimensionalizing, i edited code like this fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(1/Re, U) ); solve(UEqn == -fvc::grad(p)); There comes an error in laplacianSchemes, so edited form is like this: laplacianSchemes { default none; laplacian((Re^-1),U) Gauss linear orthogonal; laplacian((1|A(U)),p) Gauss linear orthogonal; } Can you please comment over my approach, along with dimensions of each term in solver file. I would really appreciate your help. Many Thanks Umar Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dimensionless equations, variables, mesh etc | bhh | OpenFOAM Running, Solving & CFD | 11 | December 10, 2016 12:25 |
ADDITIONAL VARIABLES LIMITERS | N.P | CFX | 5 | December 1, 2011 08:47 |
Actual drag force from dimensionless equations | slaxmi | CFX | 10 | September 14, 2007 20:20 |
PHI file structure | Eugene | Phoenics | 9 | November 2, 2001 23:00 |
Saving variables on a user patch with physical coordinates | Zoltan Turzo | CFX | 2 | April 20, 2000 16:05 |