|
[Sponsors] |
Is it possible to get value of a variable at given coordinates without a point? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2010, 17:58 |
Is it possible to get value of a variable at given coordinates without a point?
|
#1 |
New Member
Join Date: Mar 2010
Posts: 4
Rep Power: 16 |
Is it possible to get value of a variable at given coordinates without crating a point there?
Maybe it can be done via user fortran? How? I want to implement my own boundary conditions (like d^2u/dx^2=0) that is why I need values of velocity like velocity and pressure at points with arbitrary coordinates inside domain. |
|
March 23, 2010, 06:37 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You can create monitor points where ever you like. But keep in mind they just return the value of the element they are in, they do not interpolate between the nearby nodes.
But CFX has built in gradient functions for first order derivatives, not sure about second order derivatives. If available you should use those functions. |
|
March 23, 2010, 14:19 |
|
#3 |
Member
Dmitry Volkind
Join Date: Jan 2010
Location: Ekaterinburg, Russia
Posts: 64
Rep Power: 16 |
Greetings!
What kind of boundary condition is that? As far as I understand, d^2u/dx^2=0 yields a flat speed profile. Probably if you could estimate du/dx somehow, it might be easier to specify the velocity as a linear function of coordinate via expression. I also doubt that second order derivative can be used as a boundary condition for it's neither first-type nor second-type. |
|
March 23, 2010, 16:20 |
|
#4 | |
New Member
Join Date: Mar 2010
Posts: 4
Rep Power: 16 |
Thank you for your answers.
Monitor points can not be used as locations in expressions (to set up my BC in CFX-Pre I need an expression that will give values). It is possible to use Source points as locations, but I'll have to create hundreds of them (one per each hexahedra in two layers, closest to boundary) to approximate 2-nd derivative. This is possible (with perl script), but creating so much points is too slow according to my experience. Quote:
Code:
probe(Velocity u.Gradient)@Source Point 1 Code:
The function 'probe' referenced in parameter 'Expression Value' in object '/FLOW:Flow Analysis 1/OUTPUT CONTROL/MONITOR OBJECTS/MONITOR POINT:Monitor Point 1' has an invalid argument, 'Velocity u.Gradient'. The solver does not support operator-suffixed variables here. Last edited by technocrat; March 23, 2010 at 16:55. |
||
March 23, 2010, 16:42 |
|
#5 | |
New Member
Join Date: Mar 2010
Posts: 4
Rep Power: 16 |
Quote:
|
||
March 23, 2010, 18:05 |
|
#6 | |
New Member
Join Date: Mar 2010
Posts: 4
Rep Power: 16 |
Maybe I can get what I want via user fortran?
I'm now trying to find appropriate data acquisition routin in manual, but hasn't succeed yet. Probably I'm looking at what I need and don't see it? Quote:
|
||
Tags |
cfx, user fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Point coordinates via orinial point address after decomposing | diana | OpenFOAM Running, Solving & CFD | 0 | August 6, 2008 11:27 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
How to edit point coordinates in ICEM? | Alexey | CFX | 6 | December 24, 2007 11:31 |
[Gmsh] Gmsh and samplesurface | touf | OpenFOAM Meshing & Mesh Conversion | 2 | December 10, 2007 03:27 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |