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

Copy "internalField" values to "boundaryField"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2013, 12:58
Default Copy "internalField" values to "boundaryField"
  #1
New Member
 
Juris Vencels
Join Date: Sep 2012
Location: Riga, Latvia
Posts: 15
Rep Power: 13
Dzhordzhs is on a distinguished road
Hi!

I have such fields:
volVectorField A
volVectorField B=fvc::curl(A)

After the last operation boundaryField B is lost.
Is it possible to restore it by copying closest values from internalField?

I have tried to make boundary condition:
void boundaryValueFvPatchVectorField::updateCoeffs()
{

if (updated())
{
return;
}

this->operator==(this->patchInternalField());
fvPatchVectorField::updateCoeffs();
}

.. but it doesn't work.
Dzhordzhs is offline   Reply With Quote

Old   February 12, 2013, 09:48
Default
  #2
New Member
 
Juris Vencels
Join Date: Sep 2012
Location: Riga, Latvia
Posts: 15
Rep Power: 13
Dzhordzhs is on a distinguished road
http://www.cfd-online.com/Forums/ope...atchfield.html
Dzhordzhs is offline   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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
Retrieving boundary patch values adjacent to a given cell brooksmoses OpenFOAM Post-Processing 2 December 8, 2008 10:00
Plotting raw data values Wilesco Siemens 0 January 5, 2006 05:34
Mass Flux values and calculations Cb Siemens 1 January 22, 2005 09:21
node based or cell centered Ts values acboge FLUENT 0 February 6, 2004 06:41


All times are GMT -4. The time now is 17:29.