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

Copy "internalField" values to "boundaryField"

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 10, 2013, 13:58
Default Copy "internalField" values to "boundaryField"
  #1
New Member
 
Juris Vencels
Join Date: Sep 2012
Location: Sweden, Stockholm
Posts: 11
Rep Power: 4
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: Sweden, Stockholm
Posts: 11
Rep Power: 4
Dzhordzhs is on a distinguished road
Getting internalField values from a patchField
Dzhordzhs is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 28 May 28, 2015 13:37
Retrieving boundary patch values adjacent to a given cell brooksmoses OpenFOAM Post-Processing 2 December 8, 2008 11:00
Plotting raw data values Wilesco CD-adapco 0 January 5, 2006 06:34
Mass Flux values and calculations Cb CD-adapco 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 19:10.