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, 13:58
Default Copy "internalField" values to "boundaryField"
  #1
New Member
 
Juris Vencels
Join Date: Sep 2012
Location: Riga, Latvia
Posts: 15
Rep Power: 14
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, 10:48
Default
  #2
New Member
 
Juris Vencels
Join Date: Sep 2012
Location: Riga, Latvia
Posts: 15
Rep Power: 14
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 07:55
Retrieving boundary patch values adjacent to a given cell brooksmoses OpenFOAM Post-Processing 2 December 8, 2008 11:00
Plotting raw data values Wilesco Siemens 0 January 5, 2006 06:34
Mass Flux values and calculations Cb Siemens 1 January 22, 2005 10:21
node based or cell centered Ts values acboge FLUENT 0 February 6, 2004 07:41


All times are GMT -4. The time now is 21:31.