|
[Sponsors] |
How to change dimensionless value to dementioned type |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2009, 05:16 |
Hi dear Foamers,
Could anyo
|
#1 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Hi dear Foamers,
Could anyone give me a hand? How to change dimensionless value to dementioned type? As in the following sentence: max(VSMALL, wallDist(mesh_).y()) where, wallDist(mesh_).y() is [0 1 0 0 0 0 0]. How can I change VSMALL from [0 0 0 0 0 0 0] to [0 1 0 0 0 0 0]? Thanks in advance! Daniel WEI
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
February 23, 2009, 07:53 |
Hi Daniel
try
dime
|
#2 |
Senior Member
|
Hi Daniel
try dimensionedScalar vsmall("small",dimensionSet(0,1,0,0,0,0,0),1e-8); Junwei |
|
March 2, 2009, 14:32 |
Hi,
does this work in the oth
|
#4 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Hi,
does this work in the other direction as well, i.e. remove the dimension of the wall-distance!? Regards! Fabian |
|
March 2, 2009, 14:35 |
what about myDimVariable.value
|
#5 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
what about myDimVariable.value() to get at the value?
|
|
March 2, 2009, 14:53 |
Hi Mark,
thanks!
Fabian
|
#6 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Hi Mark,
thanks! Fabian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
change of cell type | CFDuser | Siemens | 1 | March 10, 2006 20:04 |
change cell type during calculation | Torsten | Siemens | 1 | May 27, 2005 08:16 |
Change Boundary type? | ccc | FLUENT | 6 | January 15, 2004 06:24 |
How to change the boundary type during computation | Lee | Siemens | 2 | November 28, 2003 22:01 |
is it possible to change cell type during calc? | raymond | Siemens | 2 | September 21, 2001 03:10 |