CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to update volVectorField velocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2008, 05:57
Default Hi all, Here is my problem,
  #1
swlee
Guest
 
Posts: n/a
Hi all,

Here is my problem,
1. I have a grid domain which is consist of 4 different grids(two main grids, two ghost grids).
2. The ghost grid will be used to get a new value and calculate the velocity fields of the two main grids(with "RegionCoupled" patch).
3. The value of two ghost grids will be obtained from the interpolation scheme.

With regards to item 3 above, I don't know how to update interpolated velocity fileds for two ghost grids. I used and followed the code for "sample" utitiliy. I've got the interpolation points for two ghost grids like the following code,

(some codes for preparation of interpolation here..)
fvMesh& ghostMesh = ghostMesh[ghostI];
const pointField& interpPoints = ghostMesh.pointAll();

(implementation code for interpolation here)
bla..bla...

If I'm succeed to obtain proper interpolated velocity from interpolation scheme, how can I update this new obtained interpolated velocity fields in volVectorField of velocity field for two ghost grids?

Is there anyone can help me?
  Reply With Quote

Reply


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
Taking the absolute value of a volVectorField or a volTensorField kupiainen OpenFOAM 3 July 25, 2019 14:00
Combining 3 volScalarFields to form a volVectorField srinath OpenFOAM 1 August 13, 2008 02:27
velocity update fluent_urs FLUENT 6 July 8, 2008 12:41
VolVectorField of complex numbers quba OpenFOAM 0 December 17, 2007 09:06
To get the magnitude of volVectorField susana OpenFOAM Pre-Processing 5 November 16, 2006 07:53


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